Last Comment Bug 519325 - Add ARIA roles
: Add ARIA roles
[kb=1177314] [a11y]
Classification: Other
Component: Information Architecture & UX (show other bugs)
: unspecified
: All All
-- normal
: ---
Assigned To: Kohei Yoshino [:kohei]
: www-mozilla-com
Depends on: 965971 966702 969901
Blocks: 655381
  Show dependency treegraph
Reported: 2009-09-28 16:07 PDT by Ryan Doherty (:rdoherty)
Modified: 2014-02-08 11:30 PST (History)
6 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Ryan Doherty (:rdoherty) 2009-09-28 16:07:41 PDT
Per my goal of basic ARIA support for (
Comment 1 User image Ryan Doherty (:rdoherty) 2009-09-28 16:12:02 PDT
r52484 adds navigation, search and contentinfo roles to all pages. Updating all pages to add role="main" to main content blocks may be unattainable considering the # of files and dangers of a mass search-and-replace.
Comment 2 User image Alex Buchanan [:abuchanan] 2010-08-24 16:23:14 PDT
Next steps here?  Or are we done?
Comment 3 User image Ryan Doherty (:rdoherty) 2010-08-24 16:29:17 PDT
(In reply to comment #2)
> Next steps here?  Or are we done?

Next step would be updating all locales to add role="main" their main content blocks. I'm not sure of a good/reliable method of doing this easily though.
Comment 4 User image Kohei Yoshino [:kohei] 2010-08-24 18:21:50 PDT
<body role="document">

<div role="main" id="doc">

<div role="menubar" id="nav-main">
* Not "navigation" because it has dropdown menus
* role="menu" and role="menuitem" will follow
* implementing keyboard navigation is appreciated
* see for example (those dropdown menus work with and w/o JavaScript)

<ul role="navigation" id="footer-menu">

etc, etc...
Comment 5 User image Kohei Yoshino [:kohei] 2010-08-24 18:27:20 PDT
> * implementing keyboard navigation is appreciated

Err, has already implemented this stuff.
Comment 6 User image Kohei Yoshino [:kohei] 2010-11-24 10:52:11 PST
<div id="header" role="banner">

<div id="footer-menu" role="presentation">
because it's a dup of #nav-main and should not be read again by screen readers.

I'll make a patch for the nova branch in good time...
Comment 7 User image Kohei Yoshino [:kohei] 2010-11-30 10:57:51 PST
Just FYI: ALA has published articles on ARIA, worth reading.
Comment 8 User image Laura Forrest 2011-04-11 17:55:14 PDT
Doing a bit of bug housekeeping here and came across this. 

Closing for now. If you think this is still important to fix, and applies to the current, please re-open. Thanks!
Comment 9 User image Reed Loden [:reed] (use needinfo?) 2011-04-11 17:57:57 PDT
a11y is important.
Comment 10 User image Kohei Yoshino [:kohei] 2011-04-11 20:06:14 PDT
Absolutely. At least the landmark roles -- banner and main -- should be added.

And the pager-with-tabs should have the tablist, tab and tabpanel roles.

We have widely used ARIA roles at
Comment 11 User image Kohei Yoshino [:kohei] 2011-04-13 00:01:19 PDT
You can test the ARIA implementation with NVDA, an open source screen reader.
Comment 12 User image Kohei Yoshino [:kohei] 2013-05-23 10:26:51 PDT
I'll make a patch for Bedrock.

Note You need to log in before you can comment on or make changes to this bug.