You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the author breaks the content model, Blink switches the menulist or menubar element, whichever contains the violation, to a dialog role. We also switch keyboard navigation from arrow keys back to the Tab key. But, does this actually work?? Can screenreader users access all the content in "dialog mode"? How is keyboard navigation?
170
+
When the author breaks the content model, Blink switches the menulist or
171
+
menubar element, whichever contains the violation, to a dialog role. We
172
+
also switch keyboard navigation from arrow keys back to the Tab key. But,
173
+
does this actually work?? Can screenreader users access all the content in
This is a menubar with a single menuitem, Bookmarks. Activating Bookmarks shows four items, with a hr separator between the last two. The presence of a button puts us in dialog mode, which in this case means the menulist has a role of dialog instead of a role of menu. The items (activating does nothing):
179
+
This is a menubar with a single menuitem, Bookmarks. Activating Bookmarks
180
+
shows four items, with a hr separator between the last two. The presence
181
+
of a button puts us in dialog mode, which in this case means the menulist
182
+
has a role of dialog instead of a role of menu. The items:
176
183
<ol>
177
-
<li>Add Bookmark</li>
178
-
<li>A button(!)</li>
184
+
<li>Add Bookmark -- this menuitem has a click handler that shows an alert</li>
185
+
<li>A button(!) -- both the button and the button menuitem have click handlers that show alerts</li>
This is the original File, Edit.. etc menu. Except this time there's a link at File > New. Selecting File > Open Recent's submenu seems difficult with our current implementation. You have to Tab from new to Open Recent, then activate with enter or space, then resume arrow key navigation. Left arrow from Open Recent's submenu moves focus back onto Open Recent, but you can't use right arrow to go back into the submenu. Yeah, seems not great.
235
+
This is the original File, Edit.. etc menu. Except this time there's a
236
+
link at File > New. Selecting File > Open Recent's submenu seems
237
+
difficult with our current implementation. You have to Tab from new to
238
+
Open Recent, then activate with enter or space, then resume arrow key
239
+
navigation. Left arrow from Open Recent's submenu moves focus back onto
240
+
Open Recent, but you can't use right arrow to go back into the submenu.
0 commit comments