Skip to content

Conversation

@oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 8, 2024

A quick-win that I noticed. Opened a PR as seems more efficient than an issue. When running https://chromewebstore.google.com/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd?pli=1 on after scrolling a bit the page on https://mui.com/material-ui/react-button/ or any others. We get this:

SCR-20240908-sbjv SCR-20240909-twyi

which they explain in https://dequeuniversity.com/rules/axe/4.10/region?application=AxeChrome.

Related issue: https://www.drupal.org/project/back_to_top/issues/3254713. I think it matters because we want our component to have no error, so if the docs-infra has one, it creates noise.

Preview: https://deploy-preview-43663--material-ui.netlify.app/material-ui/react-button/

@oliviertassinari oliviertassinari added type: bug It doesn't behave as expected. accessibility a11y scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels Sep 8, 2024
@mui-bot
Copy link

mui-bot commented Sep 8, 2024

Netlify deploy preview

https://deploy-preview-43663--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 328f3bc

@oliviertassinari oliviertassinari changed the title [docs-infra] Fix axe issue element without landmark [docs-infra] Fix axe issue scroll-to-top without landmark Sep 9, 2024
@oliviertassinari
Copy link
Member Author

Alright, having this under <main> seems to make sense: https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/. We don't really need to care so much anyway.

cc @vladmoroz for context. I was initially against having something like this https://docs.github.com/en/get-started/using-github/connecting-to-github

SCR-20240909-txtu

but it's kind of OK. If we look at the Google Analytics, it seems that this is not really used though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants