Changes between Initial Version and Version 1 of Ticket #15885, comment 6


Ignore:
Timestamp:
Sep 26, 2012, 7:39:07 PM (8 years ago)
Author:
mikeb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15885, comment 6

    initial v1  
    552. Have the aria-owns point to an id of an empty container that is hidden. This is still light weight as the menu is not populated until you drop it down.
    66
    7 I decided to implement #1; the dijits will have aria-haspopup and then HasDropDown assigns aria-owns to them when the drop down is opened. So, aria-owns will not be assigned initially for any of the drop down dijits: ComboBox, FilteringSelect, Select, DropDownButton, ComboButton.
     7I decided to implement #1; the dijits will have aria-haspopup and then HasDropDown assigns aria-owns to them when the drop down is opened. So, aria-owns will not be assigned initially for any of the drop down dijits: ComboBox, FilteringSelect, Select, DropDownButton, ComboButton, ScrollingTabContainer, _DateTimeTextBox. Had to add some additional code in ComboButtonMixin and _DateTimeTextBox to move the aria-expanded and aria-owns attributes to a node with the correct role.
    88
    99One interesting thing I noticed was that for DropDownButton and ComboButton, it seems that the drop down object is actually created and appended to the bottom of the page even if the drop down is never clicked on. We might be able to find a way to set aria-owns right away for these dijits, but based on #1 above it doesn't seem like this would increase accessibility at all.