Stacks icon indicating copy to clipboard operation
Stacks copied to clipboard

Icon-only tooltip-generating elements need screenreader text

Open aaronshekey opened this issue 3 years ago • 0 comments

Scenario, you've got a button with an icon and a title attribute. You've wired it up to our tooltip controller.

The issue with this is our tooltip controller strips the title attribute entirely, building the content of the title into the popover.

Possible solution? Swap title for aria-label in the tooltip JS.

aaronshekey avatar Jan 26 '22 02:01 aaronshekey