dashboard nav and icons: add aria-current, landmarks, skip link, and focus styles
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- accessibility, frontend
Direzione di ricerca
Start with the named Rails templates: app/views/layouts/_user_nav_item.html.erb, _user_bottom_nav_item.html.erb, layouts/user.html.erb, the friend requests page, and app/views/dashboard/schedules/_calendar.html.erb; then inspect application.css around lines 226 and 229. Implement the listed navigation, skip-link, focus-style, and sign-out changes, and check the relevant pages with keyboard navigation and a screen reader to confirm labels, current states, and visible focus.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Severity: medium
Problem
Navigation and icon-only controls do not tell assistive technology what they are or which one is current.
- The nav links have no
aria-current="page". The active item is shown only by color and weight (app/views/layouts/_user_nav_item.html.erb:3-5,_user_bottom_nav_item.html.erb:3-4). - The two
<nav>elements have noaria-label. A screen reader user hears "navigation" twice. - On medium screens the rail shows icons only. The only name comes from the
titleattribute (_user_nav_item.html.erb:4). Atitleattribute is not a reliable name on touch screens. - Decorative SVG icons have no
aria-hidden="true", in the nav, the cards, and the buttons. - The back arrow on the friend requests page is an icon-only link with no name (
app/views/dashboard/friends/requests.html.erb:5-7). - The schedule view toggle (List, Week, Month) and the Prev and Next links show the current choice by color only. They have no
aria-current(app/views/dashboard/schedules/_calendar.html.erb, view toggle near line 33). - The initial letter avatar in the rail has no label (
layouts/user.html.erb:50-54). - The Sign out control sends a DELETE through
data-turbo-methodon a link. It is a link that acts like a button. Usebutton_to. - The page has no skip link. A keyboard user tabs through seven nav items on every page.
- The
m3-btn-*classes define nofocus-visiblestyle. The inputs hide the outline and use a 1px ring (application.css:226,229), which is thin on thesurface-container-highestbackground.
Fix
- Add
aria-currentandaria-labelto the navs. Addaria-hiddento decorative icons. Addaria-labelto icon-only links. - Add a "Skip to content" link in
layouts/user.html.erband give<main>anid. - Add a shared
focus-visible:ring-2rule to them3-btn-*andm3-inputclasses. - Use
button_tofor Sign out.
Part of #656
- Lingua principale
- Ruby
- Stelle
- 4
- Fork
- 0
- Merge medio
- 1g 11h
- PR unite (30g)
- 148
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 WITCodingClub/calendar-backend
-
performance v/6
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
WITCodingClub/calendar-backend#687 ·
I maintainer di solito rispondono entro 1 giorno
-
performance v/6
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
WITCodingClub/calendar-backend#678 ·
I maintainer di solito rispondono entro 1 giorno
-
proper error catchingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
WITCodingClub/calendar-backend#717 ·
I maintainer di solito rispondono entro 1 giorno
-
Organize the codebase: controllers, namespaces, services, and jobsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
WITCodingClub/calendar-backend#710 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Repo HousekeepingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
WITCodingClub/calendar-backend#709 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WITCodingClub/calendar-backend
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Homebrew/homebrew-cask#293134 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
notch8/iiif_print#430 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
ActionText::Content#to_markdown: <br> in a table cell and empty <tr> produce malformed Markdown tablesForse già presa @azmi2409 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni