Can an element have styles depending on the aria-hidden
attribute?
Here is an example of how I want it to work:
HTML:
<div aria-hidden="false" class="text">text here</div>
CSS:
aria-hidden["false"] {
color:red;
}
Almost:
[aria-hidden="false"] {
color:red;
}
This is called attribute selector
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With