File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
src/frontend/apps/e2e/__tests__/app-impress Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to
1010
1111- ♿(frontend) improve accessibility:
1212 - ♿(frontend) improve share modal button accessibility #1626
13+ - ♿(frontend) add skip to content button for keyboard accessibility #1624
1314
1415## [ 3.10.0] - 2025-11-18
1516
@@ -30,6 +31,9 @@ and this project adheres to
3031 - ♿(frontend) improve ARIA in doc grid and editor for a11y #1519
3132 - ♿(frontend) improve accessibility and styling of summary table #1528
3233 - ♿(frontend) add focus trap and enter key support to remove doc modal #1531
34+ - 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
35+ - 🐛(frontend) make summary button fixed to remain visible during scroll #1581
36+ - 🐛(frontend) fix pdf embed to use full width #1526
3337- 🐛(frontend) fix alignment of side menu #1597
3438- 🐛(frontend) fix fallback translations with Trans #1620
3539- 🐛(export) fix image overflow by limiting width to 600px during export #1525
@@ -46,7 +50,6 @@ and this project adheres to
4650
4751- 🔥(backend) remove api managing templates
4852
49-
5053## [ 3.9.0] - 2025-11-10
5154
5255### Added
Original file line number Diff line number Diff line change @@ -176,3 +176,27 @@ test.describe('Header: Override configuration', () => {
176176 await expect ( logoImage ) . toHaveAttribute ( 'alt' , '' ) ;
177177 } ) ;
178178} ) ;
179+
180+ test . describe ( 'Header: Skip to Content' , ( ) => {
181+ test ( 'it displays skip link on first TAB and focuses main content on click' , async ( {
182+ page,
183+ } ) => {
184+ await page . goto ( '/' ) ;
185+
186+ // Wait for skip link to be mounted (client-side only component)
187+ const skipLink = page . getByRole ( 'link' , { name : 'Go to content' } ) ;
188+ await skipLink . waitFor ( { state : 'attached' } ) ;
189+
190+ // First TAB shows the skip link
191+ await page . keyboard . press ( 'Tab' ) ;
192+
193+ // The skip link should be visible and focused
194+ await expect ( skipLink ) . toBeFocused ( ) ;
195+ await expect ( skipLink ) . toBeVisible ( ) ;
196+
197+ // Clicking moves focus to the main content
198+ await skipLink . click ( ) ;
199+ const mainContent = page . locator ( 'main#mainContent' ) ;
200+ await expect ( mainContent ) . toBeFocused ( ) ;
201+ } ) ;
202+ } ) ;
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ test.describe('Language', () => {
6666 await page . keyboard . press ( 'Tab' ) ;
6767 await page . keyboard . press ( 'Tab' ) ;
6868 await page . keyboard . press ( 'Tab' ) ;
69+ await page . keyboard . press ( 'Tab' ) ;
6970
7071 await page . keyboard . press ( 'Enter' ) ;
7172
You can’t perform that action at this time.
0 commit comments