Skip to content

Commit

Permalink
skip tota11y ui when labelling landmarks
Browse files Browse the repository at this point in the history
Fixes #87
  • Loading branch information
phanimahesh committed Mar 11, 2016
1 parent 4c1a422 commit a3059e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/landmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LandmarksPlugin extends Plugin {
}

run() {
$("[role]").each(function() {
$("[role]:not(.tota11y-toolbar,.tota11y-plugin)").each(function() {
annotate.label($(this), $(this).attr("role"));
});
}
Expand Down

0 comments on commit a3059e9

Please sign in to comment.