Skip to content

Commit

Permalink
[aria] Drop “deprecated on this role” attributes in per-role tables
Browse files Browse the repository at this point in the history
This change causes the Inherited States and Properties rows of the
per-role Characteristics tables in the ARIA spec to stop including all
attributes that had been marked “deprecated on this role in ARIA 1.2”.
  • Loading branch information
sideshowbarker committed Dec 28, 2024
1 parent 19a6325 commit 5935b0b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions common/script/aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,13 +479,11 @@ function ariaAttributeReferences() {
var property = sortedList[k];
var req = "";
var dep = "";
if (property.deprecated)
continue;
if (property.required) {
req = " <strong>(required)</strong>";
}
if (property.deprecated) {
dep =
" <strong>(deprecated on this role in ARIA 1.2)</strong>";
}
if (prev != property.name) {
output += "<li>";
if (property.is === "state") {
Expand Down

0 comments on commit 5935b0b

Please sign in to comment.