Skip to content

Request updates to allowed roles for area without href #3266

Closed

Description

@scottaohara

ARIA in HTML is looking to update the allowed roles for area without href from no role to instead allow link and button, only.

Activity

  1. WilcoFiers commented on Nov 9, 2021

    @WilcoFiers
    Contributor

    That makes a lot of sense. Any particular reason you wouldn't also allow button on area[href] though @scottaohara?

  2. scottaohara commented on Nov 9, 2021

    @scottaohara
    ContributorAuthor

    thanks Wilco.

    That idea did come up when discussing this change (both in the ARIA WG when they had done the initial review during CR, and when we were discussing after I looked into what other roles might have made sense here).

    Essentially, keeping the status quo boils back down to a version of the links vs buttons debate / user expectations of role announcement. If authors need an area to be a role=button, then they would now have this opportunity by not adding, or by removing, the href.

    If need be, we can discuss this further in a new issue in ARIA in HTML.

    Related issue: w3c/html-aria#187

  3. WilcoFiers commented on Nov 9, 2021

    @WilcoFiers
    Contributor

    Tanks for clarifying. Sounds good.

  4. added this to the Axe-core 4.4 milestone on Nov 9, 2021
  5. added
    fix
    standards
    pr
    on Nov 12, 2021
  6. padmavemulapati commented on Nov 16, 2021

    @padmavemulapati

    Validated with the develop branch axe-core code base,
    aria-allowed-role rule allowing the roles for button and 'link area without href

    image

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

    fixprstandards

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions