bitcrowd / bitstyles

A complete design system, with base styles and components, built in Sass using CSS variables
https://bitcrowd.github.io/bitstyles
ISC License
16 stars 0 forks source link

Add aria-expanded to the button pressed state #735

Closed planktonic closed 1 year ago

planktonic commented 1 year ago

Another way buttons can be in a “pressed” state: if the element they control is in an expanded state, the button will get aria-expanded="true". Let’s add that to the list of selectors for the pressed button states.