Closed Bug 519325 Opened 15 years ago Closed 3 years ago

Add ARIA roles

Categories

(www.mozilla.org :: Information Architecture & UX, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: rdoherty, Unassigned)

References

Details

(Whiteboard: [kb=1177314] [a11y])

Per my goal of basic ARIA support for mozilla.com (https://wiki.mozilla.org/Webdev:WAI-ARIA#Basic_ARIA_Support).
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.
Next steps here?  Or are we done?
(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.
<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 http://mozilla.jp/ for example (those dropdown menus work with and w/o JavaScript)

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

etc, etc...
> * implementing keyboard navigation is appreciated

Err, www.mozilla.com has already implemented this stuff.
<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...
Assignee: ryan.doherty → nobody
Whiteboard: [a11y]
Just FYI: ALA has published articles on ARIA, worth reading.
http://www.alistapart.com/issues/319
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 mozilla.com, please re-open. Thanks!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
a11y is important.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Absolutely. At least the landmark roles -- banner and main -- should be added.
http://www.w3.org/TR/wai-aria/complete#landmark_roles

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

We have widely used ARIA roles at http://mozilla.jp/
You can test the ARIA implementation with NVDA, an open source screen reader.
http://www.nvda-project.org/
Status: REOPENED → NEW
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Component: General → Information Architecture & UX
Hardware: x86 → All
Version: other → unspecified
I'll make a patch for Bedrock.
Assignee: nobody → kohei.yoshino.bugs
Status: NEW → ASSIGNED
Blocks: 655381
Whiteboard: [a11y] → [kb=1177314] [a11y]
Depends on: 965971
Depends on: 966702
Depends on: 969901
Status: ASSIGNED → NEW
Assignee: kohei.yoshino → nobody

Closing out old, inactive bugs

Status: NEW → RESOLVED
Closed: 13 years ago3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.