Skip to content

Suggestion: Open in Codepen buttons should be links (<a>) #13

@Dan-Q

Description

@Dan-Q

If possible, the "Open in Codepen" buttons are implemented as <button> elements, but should be <a> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    suggestionA proposal for a new smol demo

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions