From 674c2a379b05fcd0acc90d4f2f54c765b58d5b2c Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Sun, 1 Feb 2026 18:11:53 +0200 Subject: [PATCH] Fix modal accessibility --- CHANGELOG.md | 1 + src/App.jsx | 35 +++++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1621cf5..800a7b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 2026-02-01: 1.0.3 +* Fix modal accessibility * Fix progress bar accessibility * Add Open Library API integration for missing book metadata (opt-in) diff --git a/src/App.jsx b/src/App.jsx index 5941c76..73379aa 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -750,10 +750,17 @@ function App() {
setShowShortcuts(false)} + role="presentation" > -
e.stopPropagation()}> +
e.stopPropagation()} + role="dialog" + aria-modal="true" + aria-labelledby="shortcuts-title" + >
-

Keyboard shortcuts

+

Keyboard shortcuts