Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #47
What was done
Focus and announcements. I stepped through every page and flow in the accessibility tree and fixed the places where focus was lost or nothing was announced:
aria-disabledinstead ofdisabled).VoiceOver, automated.
npm run voiceoverinfrontend/uses Guidepup to drive the real VoiceOver through 15 steps in WebKit, the engine in Safari. It writes what VoiceOver said to a report. The latest run: 11 of 15 steps passed. The 4 failures come from Safari's Tab behaviour and a script that is too strict, not from bugs in the app. Each one is explained in the doc.Found with VoiceOver and fixed. Safari did not read lists without bullets as lists. All 11 now have
role="list", and a test guards against new ones.Where to find it
docs/voiceover-report.mddocs/screen-reader.mdfrontend/e2e/screenreader.spec.tsfrontend/scripts/voiceover.mjs. The one-time setup is in the doc.src/lib/focus.test.ts,src/test/listRoles.test.ts, and new focus tests in the search, review, account and Mine anmeldelser testsTested
npm run checkpasses.mainare fixed in a separate PR.npm run voiceover: 11 of 15 steps passed.Not in this PR