Skip to content

aria-valid-attr-value WCAG mapping #4902

@lilzesh

Description

@lilzesh

Product

axe-core

Question

I was testing some pages recently which made me wonder about the aria-valid-attr-value rule and why it maps exclusively to 4.1.2. I understand that ARIA attributes like aria-label and aria-labelledby certainly have direct 4.1.2 implications but there are other attributes handled by the check of this rule that do not seem to fit with the 4.1.2 tagging (e.g. aria-controls, aria-describedby, among others). Invalid values for some of these other attributes, to me, would align more appropriately with 1.3.1 as it is likely that we would be dealing with some sort of information or relationship expressed visually that cannot be programmatically determined. With some of these other attributes we wouldn't be dealing with the programmatic determinability of name and role, and some are not settable by a user.

I wonder if it makes sense to separate this rule and check into attributes whose invalid values are 4.1.2 violations and others that are 1.3.1 violations? Both likely still make sense tagged as needs review. Also, if this type of discussion has occurred in the past and what may be limiting factors of my argument as I acknowledge I'm lacking a lot of historical background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionungroomedTicket needs a maintainer to prioritize and label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions