Not entirely sure, but we might discuss/investigate this:
What about setting the application role to the body element and wrapping the page content with a div with the document role as soon as it contains administrative controls?
Not entirely sure, but we might discuss/investigate this:
What about setting the application role to the body element and wrapping the page content with a div with the document role as soon as it contains administrative controls?
Comments
Comment #1
casey commentedExamples:
Toolbar
Modal dialogs
Related: #1175830: Update to jQuery UI 1.10.2
Screenreaders don't use virtual buffers for applications, so we should be able to keep the focus trapped inside the modal dialog.
Overlay
Again, screenreaders don't use virtual buffers for applications, so we should be able to keep the focus trapped inside the overlay.
Contextual links
Related: #1182522: Use <menu> and contextmenu attribute for contextual links
Comment #2
Everett Zufelt commented@Casey
What is the problem that you are trying to solve here, that isn't super clear to me.
Comment #3
casey commentedActually several:
Comment #4
casey commentedNah... after some more thinking I concluded this just isn't correct. Administrative pages are no applications, so we shouldn't let AT-users think they are.
Comment #5
casey commentedAnd a link to a nice article about the usage of the application role: Not All ARIA Widgets Deserve role="application".
Comment #6
casey commentedAlso it doesn't work in current version of NVDA (2011.1.1): http://www.nvda-project.org/ticket/1452
Comment #7
casey commentedStill think we can control focus and virtual buffer some more when we can set application role on body element.
Point is you aren't supposed to change to role dynamically:
But I found out that you can by doing the following:
So if application role turns out to be useful, this would be the way to do it.