You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/src/content/docs/components/mui/Popover.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,15 @@ links:
7
7
---
8
8
9
9
::example{src="mui/Popover.default"}
10
+
11
+
## StrataKit MUI modifications
12
+
13
+
- Added [`role="dialog"`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/dialog_role) to the `paper` slot.
14
+
15
+
## ✅ Do
16
+
17
+
-[Label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/dialog_role#labeling) the **Popover's**`paper` slot using an `aria-labelledby` attribute pointing to a heading inside the popover or the trigger element's `id`.
18
+
19
+
## 🚫 Don't
20
+
21
+
- Don't forget to provide an accessible [label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/dialog_role#labeling)
0 commit comments