Suggestion: Open in Codepen buttons should be links (<a>)
- Vorherrschende Sprache
- Nunjucks
- Sterne
- 840
- Forks
- 13
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- css, html
- Bereich
- accessibility, frontend
- Issue-Typ
- Refactoring
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 80/100