#8285 closed defect (fixed)
Dialog: set focus to close icon if no focusable item in dialog
Reported by: | Becky Gibson | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Accessibility | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Currently if there is no focusable item in a dialog we set focus to the dialog container. The JAWS 10 screen reader does not expect focus to be set to a dialog container but an item in the dialog. Even if there is no focusable element, we can set focus to the close icon. If this occurs, the close icon needs to be updated with ondijitclick so the user can press space or escape when focus is on the icon. However, focus should only be allowed to go to the close icon if there are no other focusable elements.
Change History (7)
comment:1 Changed 12 years ago by
Milestone: | 1.3 → 1.4 |
---|
comment:2 Changed 12 years ago by
Milestone: | 1.4 → future |
---|
comment:3 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Milestone: | future → 1.6 |
Owner: | changed from Becky Gibson to bill |
Summary: | dialog: set focus to close icon if no focusable item in dialog → Dialog: set focus to close icon if no focusable item in dialog |
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [23488]) Make Dialog focus on close icon if the Dialog has no focusable elements. For TooltipDialog in this case, focus goes to the DOMNode, but officially TooltipDialogs must have at least one focusable element. Fixes #8285, #12131 !strict.
Also removed some FF workaround code about focusing an <input type=file>. It no longer seems to be needed (tested on FF3.6 on mac and windows). Refs #5934.
Finally, simplified Dialog aria tests.
I'll check in a fix for this. Please check if you want to assign any special role to that close icon; I'll set it to "button" for now.