You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Rules] Remove aria-* allowances from datalist element #563
ARIA in HTML is updating the datalist element to no longer allow any aria-* attributes.
In reality specifying global aria-* attributes, or attributes which can be used with the implicit listbox role have no actual impact on the element or its child options. Due to this, while there appears to be no negative impact for users to specify ARIA attributes on the element, allowing authors to do so also serves no benefit, and this should be called out to them.
The result is correct: the aria_attribute_allowed depends on “Rpt_Aria_ValidProperties” rule. It means if the “Rpt_Aria_ValidProperties” rule fails (which is the case), then the aria_attribute_allowed rule won’t be triggered. So you have to use the test case in the github to see the message.
The message “The attribute(s) ‘aria-keystrokes’ referenced by the element is not a valid ARIA state or property”. is from the “Rpt_Aria_ValidProperties” rule.
The attribute ‘aria-keystrokes’ is not a valid aria attribute. If the user removes or changes it into a valid aria attribute, and runs again, the rule "ria_attribute_allowed" should be triggered to report the disallowed attributes.
Activity
ErickRenteria commentedon Dec 7, 2021
Thanks for the ticket @scottaohara, we will review and get back to you.
[-]Remove aria-* allowances from datalist element[/-][+][Rules] Remove aria-* allowances from datalist element[/+]mbgower commentedon Jan 7, 2022
Investigating internally in https://github.ibm.com/IBMa/E2E/issues/3894
@carmacleod we may pull you into a discussion on ARIA in HTML.
shunguoy commentedon Apr 18, 2022
@scottaohara this seems not in the current ARIA in HTML yet. https://w3c.github.io/html-aria/#el-datalist. If this is the case, I will close the issue.
20 remaining items
update test cases #563
clean up the rule logic #563
update the cache string from "Fail_1" to "Fail" #563
ErickRenteria commentedon Sep 7, 2022
@shunguoy same results as we talked before using local build:

ErickRenteria commentedon Sep 7, 2022
PR: #1048
resolve conflict issue #563
ErickRenteria commentedon Sep 8, 2022
Per dev:
The result is correct: the aria_attribute_allowed depends on “Rpt_Aria_ValidProperties” rule. It means if the “Rpt_Aria_ValidProperties” rule fails (which is the case), then the aria_attribute_allowed rule won’t be triggered. So you have to use the test case in the github to see the message.
The message “The attribute(s) ‘aria-keystrokes’ referenced by the element is not a valid ARIA state or property”. is from the “Rpt_Aria_ValidProperties” rule.
shunguoy commentedon Sep 8, 2022
The attribute ‘aria-keystrokes’ is not a valid aria attribute. If the user removes or changes it into a valid aria attribute, and runs again, the rule "ria_attribute_allowed" should be triggered to report the disallowed attributes.
ErickRenteria commentedon Sep 9, 2022
Validated