Closed warrebuysse closed 7 years ago
Hello, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue - thank you!
If you want to keep it, use a string "false"
instead of a boolean false
.
@yyx990803 that doesn't work as the "false" argument is a variable.
You can stringify your variable.
:aria-expanded="String(isOpened1)"
@ktsn Genius! Thanks!
When you use a screenreader to visit an accordion (dropdown) you need the aria-expanded to be "false" on init. Vue automatically removes the aria-expanded tag entirely when false. Is there a way to keep the aria-expanded tag with a "false" value.
:aria-expanded="isOpened1" is removed on false.