Suggestion: Open in Codepen buttons should be links (<a>)
- Ngôn ngữ chính
- Nunjucks
- Star
- 840
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- css, html
- Lĩnh vực
- accessibility, frontend
- Loại issue
- Tái cấu trúc
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 80/100