Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Use navigation role for TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Sep 13, 2015
1 parent 78b2084 commit 660dabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/w3c/aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ define(
// ensure toc is labelled
var toc = $('section#toc', doc)
.find("ul:first");
toc.attr('role', 'directory') ;
toc.attr('role', 'navigation') ;
if (!toc.attr("id")) {
toc.attr('id', 'respecContents') ;
}
Expand Down

0 comments on commit 660dabe

Please sign in to comment.