Skip to content

Commit

Permalink
TRAVIS-CI update from aria-common
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-n-cooper committed Dec 9, 2020
1 parent 25a71ae commit 65592c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions common/script/ariaChild.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,16 @@ require(["core/pubsubhub"], function( respecEvents ) {
if (prev != role.name) {
output += "<li>";
if (role.is === "state") {
output += "<sref title=\"" + role.name + "\">" + role.name + " (state)</sref>" + req;
output += "<sref "+(role.prohibited?"data-prohibited ":"")+(role.deprecated?"data-deprecated ":"") +"title=\"" + role.name + "\">" + role.name + " (state)</sref>" + req;
} else {
output += "<pref>" + role.name + "</pref>" + req;
output += "<pref "+(role.prohibited?"data-prohibited ":"")+(role.deprecated?"data-deprecated ":"") + ">" + role.name + "</pref>" + req;
}
if (role.prohibited) {
output += " (Except where prohibited)";
}
if (role.deprecated) {
output += " (Global use deprecated in ARIA 1.2)"
}
output += "</li>\n";
prev = role.name;
}
Expand Down

0 comments on commit 65592c8

Please sign in to comment.