Bug 472305 - The sidebar should be in a nav element with an aria-label
Summary: The sidebar should be in a nav element with an aria-label
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 10.0   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2015-07-09 13:28 EDT by Carolyn MacLeod CLA
Modified: 2015-10-05 16:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2015-07-09 13:28:14 EDT
The sidebar (i.e. the navigational area containing links to Editor, Git, Shell, Sites, and Settings) should be contained in a <nav> element.

Currently, it is in a <div>:
   <div id="sideMenu" class="sideMenu">

Changing <div> to <nav> is more semantically correct. Screen readers will announce that it is a nav when the user tabs into it. It should also have a label for screen readers to announce (I assume we would call it "Sidebar"?).
An invisible label can be added with the aria-label attribute, for example:
   <nav id="sideMenu" class="sideMenu" aria-label="Sidebar">
Comment 1 Eclipse Genie CLA 2015-07-16 13:04:38 EDT
New Gerrit change created: https://git.eclipse.org/r/52099
Comment 3 Eclipse Genie CLA 2015-07-16 14:36:23 EDT
New Gerrit change created: https://git.eclipse.org/r/52107
Comment 5 Carolyn MacLeod CLA 2015-07-16 15:13:14 EDT
Changes have been pushed.