Skip to content

[docs] MUI Snackbar Accessibility #45243

Open
@AJ-Kazazian-Calero

Description

@AJ-Kazazian-Calero

Related page

https://mui.com/material-ui/react-snackbar/?srsltid=AfmBOoq7503ueVGgPcEqALorwd5zyF6eQFiqvwj__Dpqa49pRxf-XLOf

Kind of issue

Other

Issue description

The demo on https://v5.mui.com/material-ui/react-snackbar/#introduction does not talk about how to make the Snackbar accessible for tabbing into it when it's dynamically created, and I can't find much information about this issue.

Context

I am trying to make our Snackbar accessible via keyboard navigation - it is somewhat accessible, however, not fully. Basically, we have a notification service which triggers the Snackbar to appear which has a "X" button to close it and sometimes another nested link. I cannot tab into that Snackbar notification unless I tab through the entire page, which is not feasible. Our desired outcome would be to have that Snackbar be next in the tab order, like how the "Open Snackbar" demo on https://v5.mui.com/material-ui/react-snackbar/#introduction works, however I could not get that to work with dynamic Snackbars.

Search keywords: Snackbar Keyboard Navigation Tab Order / Focus

Metadata

Metadata

Labels

accessibilitya11ycomponent: snackbarThis is the name of the generic UI component, not the React module!docsImprovements or additions to the documentationsupport: docs-feedbackFeedback from documentation page

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions