Suggestion: Open in Codepen buttons should be links (<a>)
- Lingua principale
- Nunjucks
- Stelle
- 840
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
If possible, the "Open in Codepen" buttons are implemented as `` elements, but should be `` elements. This would:
- Provide a more-accurate representation of what they do (navigate you do a different page), improving accessibility
- Be a better semantic representation of their purpose, for the same reason
- Allow users the control to use them in the way that suits them best, e.g. right-click and "Bookmark link...", "Save link as..." etc., or drag-and-drop the link into a specific other tab or window
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Find the 'Open in Codepen' buttons in the codebase, likely in HTML or Nunjucks template files. Change the button elements to anchor tags while preserving their styling and functionality. Verify the change by checking that the buttons still work and open Codepen correctly, and that they can be right-clicked or dragged as links.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- css, html
- Ambito
- accessibility, frontend
- Tipo di issue
- Refactoring
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 80/100