Skip to content

Conversation

Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Oct 1, 2025

Purpose

Improve accessibility of doc shared icons by ensuring content is exposed to screen readers. Decorative icons should not be announced, while functional ones (like the shared document icon) must provide clear context with sr-only trick.

issue : 880

Proposal

  • Remove aria-label attributes from purely decorative icons so they remain invisible to screen readers

  • Replace the default icon names (public, vpn_lock) with meaningful SR-only labels:

  • Add an sr-only label to the shared document icon, ensuring screen readers announce it properly

  • Accessible to anyone (if isPublic)

  • Accessible to authenticated users (otherwise)

@Ovgodd Ovgodd requested a review from AntoLC October 1, 2025 09:37
@Ovgodd Ovgodd self-assigned this Oct 1, 2025
@Ovgodd Ovgodd force-pushed the fix/880-shared-doc-icon-labels branch from 5ad44ae to 133535b Compare October 1, 2025 09:38
@Ovgodd Ovgodd marked this pull request as ready for review October 1, 2025 09:40
Copy link

github-actions bot commented Oct 1, 2025

Size Change: +10 B (0%)

Total Size: 3.65 MB

Filename Size Change
apps/impress/out/_next/static/6b3b68fa/_buildManifest.js 0 B -864 B (removed) 🏆
apps/impress/out/_next/static/172af7a7/_buildManifest.js 864 B +864 B (new file) 🆕

compressed-size-action

remove aria-labels from decorative icons and add sr-only text to shared doc icon

Signed-off-by: Cyril <[email protected]>
@Ovgodd Ovgodd force-pushed the fix/880-shared-doc-icon-labels branch from 133535b to 18f4ab8 Compare October 2, 2025 11:24
@Ovgodd Ovgodd merged commit 18f4ab8 into main Oct 2, 2025
20 of 22 checks passed
@Ovgodd Ovgodd deleted the fix/880-shared-doc-icon-labels branch October 2, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants