Suggestion: Open in Codepen buttons should be links (<a>)
- 主要语言
- Nunjucks
- 星标
- 840
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css, html
- 领域
- accessibility, frontend
- Issue 类型
- 重构
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 80/100