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: content/components/banner.mdx
-2
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,6 @@ When deciding whether to focus a banner or use a live region, consider the follo
26
26
* Where is a user's focus when the banner appears; would focus otherwise be lost if the banner is not focused?
27
27
* Is there already a live region on the page that can be utilized? [Dynamic live regions can have some challenges](https://github.com/github/accessibility/blob/main/docs/coaching-recommendations/toast-flash-banner/accessible-banner-prototype.md#challenges-with-dynamically-inserted-live-region), so this method requires ample testing.
28
28
29
-
If you decide focusing the banner is the approach to go with, follow the [accessibility guidance in the Rails docs](https://primer.style/components/banner/rails/alpha#accessibility).
30
-
31
29
Please reach out to the accessibility team if you need help determining the best approach for your use case!
32
30
33
31
### Known accessibility issues (GitHub staff only)
0 commit comments