boltdesignsystem / bolt

The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
https://boltdesignsystem.com
MIT License
292 stars 45 forks source link

DS-734: Tooltip aria_type Prop #2443

Closed cjwhitedev closed 2 years ago

cjwhitedev commented 2 years ago

Jira

https://pegadigitalit.atlassian.net/browse/DS-734

Summary

aria_type property on bolt-tooltip. remove aria-expanded use on bolt-tooltip.

Details

Add a new property to bolt-tooltip that allows users to choose labelledby or describedby. Remove the dependency on aria-expanded to prevent conflicts with other components.

How to test

Pull the branch and set some demos to use describedby instead.

Release notes

new aria_type property on bolt-tooltip