Correct aria-expanded usage for related issues
What does this MR do and why?
aria-expanded
attribute should be applied to the button that controls
a toggled disclosure, not the disclosure itself.
cf. https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-faq/
How to set up and validate locally
- Check out this branch locally
- visit an Epic page
- Open dev tools and inspect the button that toggles the expanded/collapsed state for the "Child issues and epics" widget
- You should see that it has the
aria-expanded
attribute, and that the attribute reflects the current expanded/collapsed state of the widget - Click the button and you should see that the button's aria-expanded attribute changes to reflect the new state of the widget
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.