Skip to content

[Rules] Remove aria-* allowances from datalist element #563

Closed

Description

@scottaohara

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.

test case

Activity

  1. ErickRenteria commented on Dec 7, 2021

    @ErickRenteria
    Contributor

    Thanks for the ticket @scottaohara, we will review and get back to you.

  2. self-assigned this
    on Dec 7, 2021
  3. added
    engine-rules
    SME
    on Dec 16, 2021
  4. changed the title [-]Remove aria-* allowances from datalist element[/-] [+][Rules] Remove aria-* allowances from datalist element[/+] on Dec 16, 2021
  5. mbgower commented on Jan 7, 2022

    @mbgower
    Contributor

    Investigating internally in https://github.ibm.com/IBMa/E2E/issues/3894

    @carmacleod we may pull you into a discussion on ARIA in HTML.

  6. added and removed on Feb 9, 2022
  7. self-assigned this
    on Apr 13, 2022
  8. shunguoy commented on Apr 18, 2022

    @shunguoy
    Contributor

    @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.

  9. 20 remaining items

  10. ErickRenteria commented on Sep 7, 2022

    @ErickRenteria
    Contributor

    @shunguoy same results as we talked before using local build:
    Screen Shot 2022-09-07 at 6 02 43 PM

  11. ErickRenteria commented on Sep 7, 2022

    @ErickRenteria
    Contributor

    PR: #1048

  12. added a commit that references this issue on Sep 8, 2022
  13. ErickRenteria commented on Sep 8, 2022

    @ErickRenteria
    Contributor

    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.

  14. shunguoy commented on Sep 8, 2022

    @shunguoy
    Contributor

    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.

  15. ErickRenteria commented on Sep 9, 2022

    @ErickRenteria
    Contributor

    Validated

  16. added
    user-reported
    on Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Ready for QASMEStandardsengine-rulespriority-3 (low)reproducibleuser-reported

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions