Skip to content

Revise aria-* allowances for datalist #3322

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. WilcoFiers commented on Dec 6, 2021

    @WilcoFiers
    Contributor

    Thanks for the heads up Scott!

  2. added this to the Axe-core 4.5 milestone on Dec 6, 2021
  3. added
    standards
    on Dec 6, 2021
  4. added
    pr
    on Mar 27, 2023
  5. padmavemulapati commented on Apr 6, 2023

    @padmavemulapati

    As per the datalist , aria-* not giving real impact for the implicit roles. fixed this by adding noAriaAttrs: true, in html-elms.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    prstandards

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions