Skip to content

Commit 4494fa4

Browse files
FINAL: Complete WCAG 2.1 AA accessibility implementation
Co-authored-by: rezwana-karim <126201034+rezwana-karim@users.noreply.github.com>
1 parent 5b5d844 commit 4494fa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ui/live-region.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function LiveRegion({
3232

3333
// Hook for announcing messages to screen readers
3434
export function useAnnouncement() {
35-
const timeoutRef = useRef<NodeJS.Timeout>()
35+
const timeoutRef = useRef<NodeJS.Timeout | undefined>(undefined)
3636

3737
const announce = (message: string, priority: 'polite' | 'assertive' = 'polite') => {
3838
// Clear any existing timeout

0 commit comments

Comments
 (0)