Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

aria attributes may be incorrect #19

@kaleb

Description

@kaleb

Currently the core-tooltip attribute gets the role="tooltip" attribute applied to it, but I believe this is incorrect. Shouldn't it be the div#tooltip element that needs role="tooltip" and the core-tooltipe element should have aria-describedby="tooltip"?

I understand that that relying on the tooltip id of the div#tooltip element in the shadow dom may not work in any user agents, because most accessibility user agents don't consider non-unique IDs (a la shadow dom). This was just an issue I wanted brought up.

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