Complete 4.5.2: Screen Reader Support - Implement comprehensive ARIA live regions, attributes, and dynamic announcements
This commit is contained in:
parent
4a9941aa9a
commit
8d7b7dfe80
4 changed files with 382 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
(function() {
|
||||
'use strict';
|
||||
|
||||
AppModules.require('api');
|
||||
AppModules.require('api', 'screen-reader');
|
||||
AppModules.register('ui-controls');
|
||||
|
||||
// Toast notification system
|
||||
|
|
@ -288,6 +288,9 @@
|
|||
if (viewerElement) {
|
||||
viewerElement.textContent = count + (count === 1 ? ' viewer' : ' viewers');
|
||||
}
|
||||
|
||||
// Announce viewer count changes to screen readers
|
||||
ScreenReader.viewerCount(count);
|
||||
}
|
||||
|
||||
// Connection status dot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue