Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Accordion]: accessibility issues related to the component #705

Closed
NatalliaAlieva opened this issue Sep 20, 2022 · 2 comments
Closed

[Accordion]: accessibility issues related to the component #705

NatalliaAlieva opened this issue Sep 20, 2022 · 2 comments
Assignees
Labels
A11y Accessibility bug bug Something isn't working Design needed Issue needs design

Comments

@NatalliaAlieva
Copy link
Collaborator

NatalliaAlieva commented Sep 20, 2022

Case №1

Description

Component "Accordion" doesn't have adaptation design.

Steps to Reproduce

  1. Open Accordion component from mobile device.
  2. Move to Property Explorer.
  3. Set children=Marked up content.
  4. Expand accordion located on the right side.

Actual result

When the width of the accordion field is reduced, the buttons are compressed, they become different sizes, and the text on the buttons is difficult to read.

79207722-6cc2-4e2c-920f-f412fa556801

Expected result

When the width of the accordion field is reduced, the buttons move one under the other - need to be clarified with designers. (WGAG 1.4.10)

Case №2

Description

Pressing Space on the accordion header should not change screen position

Precondition

Screen Reader is ON or OFF

Steps to Reproduce

  1. Open Accordion component.
  2. Using Tab key focus any of the presented Accordions examples.
  3. Press Space key.

Actual Result

Section collapsed or expanded and screen position scrolled down.

AccordionSpace.mov

Expected Result

Pressing Space on the accordion header should only collapse/expand the section. The screen position should remain the same.
Failed WCAG Checkpoint: 2.1.1 Keyboard (Level A)
https://www.w3.org/TR/WCAG21/#keyboard

@NatalliaAlieva NatalliaAlieva added bug Something isn't working Design needed Issue needs design A11y Accessibility bug labels Sep 20, 2022
@NatalliaAlieva NatalliaAlieva changed the title [Accordion] Missing mobile version for component [Accordion] Accessibility issues related to the component Sep 20, 2022
@NatalliaAlieva NatalliaAlieva changed the title [Accordion] Accessibility issues related to the component [Accordion]: accessibility issues related to the component Jun 30, 2023
@vik753 vik753 self-assigned this Apr 10, 2024
@NatalliaAlieva
Copy link
Collaborator Author

Case №1 is fixed as follows: the buttons remain nearby, but their names are shortened if necessary, symbols that do not fit are hidden behind the ellipsis "...".

@NatalliaAlieva
Copy link
Collaborator Author

Released in 5.8.0 ver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Accessibility bug bug Something isn't working Design needed Issue needs design
Projects
Archived in project
Development

No branches or pull requests

3 participants