Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dan-Q opened this issue Nov 9, 2023 · 0 comments
Open

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

Dan-Q opened this issue Nov 9, 2023 · 0 comments
Labels
suggestion A proposal for a new smol demo

Comments

@Dan-Q
Copy link

Dan-Q commented Nov 9, 2023

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
@Dan-Q Dan-Q added the suggestion A proposal for a new smol demo label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion A proposal for a new smol demo
Projects
None yet
Development

No branches or pull requests

1 participant