pulibrary / orcid_princeton

To support researchers and leverage ORCID identifiers for research data in the Princeton community
GNU General Public License v3.0
3 stars 0 forks source link

ARIA attribute for expand/collapse FAQ display not functioning as expected #254

Closed kelynch closed 2 months ago

kelynch commented 2 months ago

Steps to recreate

Navigate through the FAQ section of the user profile page using a screenreader such as VoiceOver. Each FAQ entry will incorrectly be identified by the screenreader as "expanded."

Example:

thumbnail_image001

URL

Issues

Severity

WCAG Success Criterion

WCAG Conformance level (A, AA, AAA)

User impact

There is no indication to users of assistive technology (AT) that rely on aria-expanded attributes to signal when an FAQ entry is opened or closed by the user. According to the AT, all of the questions are regarded as "expanded" at all times even though this is not the case, and all FAQ entries start out closed by default on page load.

Recommended fix

The aria-expanded attribute on each FAQ should be set to "false" when the FAQ entry is closed and should be set to "true" when the FAQ entry is expanded/open.

Acceptance criteria

Notes

carolyncole commented 2 months ago

Hey team! Please add your planning poker estimate with Zenhub @hectorcorrea @JaymeeH @jrgriffiniii @kelynch @leefaisonr