Skip to content

Commit 5935b0b

Browse files
[aria] Drop “deprecated on this role” attributes in per-role tables
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”.
1 parent 19a6325 commit 5935b0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

common/script/aria.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,11 @@ function ariaAttributeReferences() {
479479
var property = sortedList[k];
480480
var req = "";
481481
var dep = "";
482+
if (property.deprecated)
483+
continue;
482484
if (property.required) {
483485
req = " <strong>(required)</strong>";
484486
}
485-
if (property.deprecated) {
486-
dep =
487-
" <strong>(deprecated on this role in ARIA 1.2)</strong>";
488-
}
489487
if (prev != property.name) {
490488
output += "<li>";
491489
if (property.is === "state") {

0 commit comments

Comments
 (0)