Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon tool tip #50

Closed
SLROS opened this issue Sep 15, 2022 · 2 comments
Closed

Icon tool tip #50

SLROS opened this issue Sep 15, 2022 · 2 comments
Assignees

Comments

@SLROS
Copy link

SLROS commented Sep 15, 2022

Describe the bug

There is an unwanted tooltip on hover. The tooltip text cannot be changed or removed.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://auro.alaskaair.com/components/auro/icon
  2. Hover on the first icon

Expected behavior

No tooltip should popup unless specified.

Screenshots

Screen Shot 2022-09-15 at 12 42 08 PM

@SLROS SLROS added the Type: Bug Bug or Bug fixes label Sep 15, 2022
@blackfalcon blackfalcon removed their assignment Sep 22, 2022
@blackfalcon blackfalcon added Type: Question and removed Type: Bug Bug or Bug fixes labels Sep 22, 2022
@blackfalcon blackfalcon changed the title auro-icon: [issue summary] Icon tool tip Sep 22, 2022
@blackfalcon
Copy link
Member

The auro-icon element pulls all the SVG icons from the Auro Icons repo. Each SVG comes with a baseline title that is derived from the file name, or there is an optional title attribute if one has been provided from either design or content writers.

You can see all the titles and descriptions here https://github.com/AlaskaAirlines/Icons/blob/master/src/data/icons.json#L553

By default, all icons are hidden from screen readers, but there is an issue to remove that strict opinion #46 (comment)

Regardless, for a11y support, an SVG requires a title attribute and that creates a tooltip from the browser. That will not change.

@blackfalcon
Copy link
Member

No further action was taken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants