From 5935b0b32203d6fd806de0a19f3186ad5e6f884f Mon Sep 17 00:00:00 2001 From: sideshowbarker Date: Sat, 28 Dec 2024 20:06:47 +0900 Subject: [PATCH] =?UTF-8?q?[aria]=20Drop=20=E2=80=9Cdeprecated=20on=20this?= =?UTF-8?q?=20role=E2=80=9D=20attributes=20in=20per-role=20tables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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”. --- common/script/aria.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/script/aria.js b/common/script/aria.js index 67d6a6270..36b98c45e 100644 --- a/common/script/aria.js +++ b/common/script/aria.js @@ -479,13 +479,11 @@ function ariaAttributeReferences() { var property = sortedList[k]; var req = ""; var dep = ""; + if (property.deprecated) + continue; if (property.required) { req = " (required)"; } - if (property.deprecated) { - dep = - " (deprecated on this role in ARIA 1.2)"; - } if (prev != property.name) { output += "
  • "; if (property.is === "state") {