diff --git a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts index 6d622f8c9..675febf06 100644 --- a/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts +++ b/accessibility-checker-engine/src/v2/aria/ARIADefinitions.ts @@ -1754,7 +1754,7 @@ export class ARIADefinitions { }, "aside": { implicitRole: ["complementary"], - validRoles: ["doc-dedication", "doc-example", "doc-footnote", "doc-pullquote", "doc-tip", "feed", "none", "note", "presentation", "region", "search"], + validRoles: ["doc-dedication", "doc-example", "doc-footnote", "doc-glossary", "doc-pullquote", "doc-tip", "feed", "none", "note", "presentation", "region", "search"], globalAriaAttributesValid: true }, "audio": { @@ -2120,10 +2120,10 @@ export class ARIADefinitions { globalAriaAttributesValid: true }, "s": { - implicitRole: null, + implicitRole: ["deletion"], validRoles: ["any"], globalAriaAttributesValid: true, - prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + otherDisallowedAriaAttributes: ["aria-label", "aria-labelledby"] }, "samp": { implicitRole: ["generic"], diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/deletion_attribute.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/deletion_attribute.html new file mode 100755 index 000000000..25393ecb0 --- /dev/null +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/deletion_attribute.html @@ -0,0 +1,80 @@ + + + + + + +element role deletion + + + +

There will be 15 tickets available at the box office tonight.

+

Tickets are sold out quickly, buy soon.

+ +

Please Check Later!

+ + + + diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/aside_role.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/aside_role.html new file mode 100644 index 000000000..6af8cc15e --- /dev/null +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/aside_role.html @@ -0,0 +1,62 @@ + + + + + + + Test aside aria role allowance + + + + + + + + + + + \ No newline at end of file diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_redundant_ruleunit/deletion_role.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_redundant_ruleunit/deletion_role.html new file mode 100755 index 000000000..23155e943 --- /dev/null +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_redundant_ruleunit/deletion_role.html @@ -0,0 +1,58 @@ + + + + + + +element role deletion + + + +

There will be 15 tickets available at the box office tonight.

+ +

Please Check Later!

+ + + +