Skip to content

Disallow aria-* attributes from datalist element #1277

@scottaohara

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.

cc @stevefaulkner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions