Add Screen Reader Only Text to the Insert Link menu for Accessibility WCAG 2.4.4 (Link Purpose)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, typescript
- Ambito
- accessibility, frontend
Direzione di ricerca
Look at the link dialog UI component, likely in 'tinymce/plugins/link' or similar. Add a new field for screen-reader-only text with pre/post options. Check how the link plugin serializes anchor tags and modify to include the sr-only span. Test by inserting a phone link and verifying the HTML output matches the example.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
📝 Provide a description of the new feature or improvement
When using the Wave Tool I encountered the problem of a Phone number link failing because it didn't have any instructional text associated with it. Tiny MCE is included in the CMS Terminal Four and as an Admin I have access to the option for "Source Code" and can easily add the needed text. However, the problem that occurs is that a contributor that should not have access at the code level, doesn't have a way to enter the extra sr-only text. Adding a Screen Reader Only Text field with the option to make it pre or post or possibly both a pre/post option in the "Insert Link" tool menu can solve this providing a contributor the ability to include instructional text for use by screen readers.
<p>Phone <a href="tel:+18005550199"><span class="sr-only">Call </span>800-555-0199</a>.</p>
Without the sr-only span, when a user is tabbing to the tel link it only reads the number and not the surrounding text so it gives an alert in the WAVE tool to provide instruction text.
🫶 What is the motivation?
Fixing the Accessibility issue for myself and others. Without the sr-only span, when a user is tabbing to the tel link it only reads the number and not the surrounding text so it gives an alert in the WAVE tool to provide instruction text.
🔗 What is the consequence of not having this feature?
The WAVE tool flags this because it is checking for WCAG 2.4.4 (Link Purpose). WAVE flags raw phone numbers as an "Alert" or structural note because a automated scanner cannot guarantee that a screen reader user will know what the number is for or who it connects to when tabbing through a list of links.
🚦 How important would you rate the requested feature or improvement?
An argument can be made for all three categories nice-to-have, important or critical.
Nice to have: Opens it up to contributors being able to maintain in a CMS usage case.
Important: Helps with accessibility requirements.
Critical: It's an Accessibility Compliance issue, however there is a technical way to do this, the people maintaining content in the CMS cannot regularly do this without source code level access.
If you'd like to see this implemented sooner, add a 👍 reaction to this post.
- Lingua principale
- TypeScript
- Stelle
- 16.3k
- Fork
- 2.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tinymce/tinymce
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
status:stale
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di tinymce/tinymce
Issue simili
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Crush Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ElementsProject/cln-application#167 · 1 commento · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Quantco/pnpm-licenses#17 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100