mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Update a11y API when selection count changes
Inserts a hidden live region to ensure changes to the count are announced. The live region is hidden because it needs to be in the initial markup of the page. The visual counter is part of a larger region which is inserted/removed from the DOM. See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions
This commit is contained in:
@@ -36,4 +36,7 @@
|
||||
{{ page_footer('Continue', button_name='operation', button_value='add-new-template') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="selection-counter visuallyhidden" role="status" aria-live="polite">
|
||||
Nothing selected
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user