Stacks
Stacks copied to clipboard
Icon-only tooltip-generating elements need screenreader text
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.