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

Modals & Drawers accessibility #1580

Open
1 of 3 tasks
florianbertelli1000 opened this issue Apr 19, 2024 · 2 comments
Open
1 of 3 tasks

Modals & Drawers accessibility #1580

florianbertelli1000 opened this issue Apr 19, 2024 · 2 comments
Assignees
Labels
♿ scope: a11y Anything related to the accessibility

Comments

@florianbertelli1000
Copy link

I am opening an issue for

Styles (CSS, SCSS, ...)

Package version

current

Description

Screenshot 2024-04-19 at 16 34 12
Screenshot 2024-04-19 at 16 34 29
Screenshot 2024-04-19 at 16 35 30

GitHub repository

No response

Mock-up(s)

No response

What happened?

In modals and drawers,
the close button (no matter if it's a "X" or a wording) is focused by default (with the blue highlight), for mouse navigation AND keyboard navigation (second one is activated by people with disabilities in their OS settings).

What is expected?

Expected behavior :

  • No automatic focus when navigating with mouse (majority of our users)
  • Focus comes when user press TAB touch on his/her keyboard

To Reproduce

STORE DRAWER

  1. Go to PDP
  2. Open delivery options

COOKIE MODAL

  1. Go to Leroymerlin.fr on incognito tab
  2. See the cookie popin

PASSWORD MODAL

  1. Go to Customer Space
  2. Go to "Gestion du compte"
  3. Go to "Mes informations personnelles et mot de passe"
  4. Clic on CTA "Modifier le mot de passe"

Code example

No response

Is this a regression?

  • Yes
  • No
  • I don't know

Additional comments

No response

@tiloyi
Copy link
Contributor

tiloyi commented Apr 26, 2024

Hi @florianbertelli1000 ,
Thank you for your issue.

Can you please tell me which Mozaic bookseller you use? Mozaic-Vue? Mozaic-WebC ? or another one ?

@florianbertelli1000
Copy link
Author

florianbertelli1000 commented Apr 30, 2024 via email

@dmartinds dmartinds added the ♿ scope: a11y Anything related to the accessibility label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♿ scope: a11y Anything related to the accessibility
Projects
None yet
Development

No branches or pull requests

3 participants