Skip to content

Links that include header elements omit their descendant content from the link's accessible name  #226

@mraccess77

Description

@mraccess77

If you have a link with href attribute and the link contains a header element and other sibling elements such as a span or div - the content within the descendants of the header is not included in the name from content of the link while the text content from other elements are included in implementations of the accessible name calculation. Browser's like Chrome omit this content but some screen readers announce it - so it seems like there is inconsistent implementation of how to handle this situation. It would be good to get clarity on if the text within the header should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions