🚸 UX: Use anchor tags in article-meta/basic.html#2252
Conversation
✅ Deploy Preview for snazzy-dango-efb2ec ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
5d6b034 to
cfc92bf
Compare
cfc92bf to
844b353
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
@servedsmart conflicts here - can you have a look? |
844b353 to
e19195d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
@servedsmart conflicts again - sorry |
- This removes an inline event handler - This also adds an aria-label Using javascript instead of just using <a></a> is bad practice regarding accessibility and automated processing of web pages. Even the browser doesn't show a hint if hovering badges when using the old implementation. This in my opinion is a good way to replace inline event handlers in that code.
e19195d to
b73c64f
Compare
Thank you for notifying me and that's not a problem. ℹ️ This has been tested on 2c71bda and is working just fine. |
|
Hi @servedsmart Hope you’re doing well! I noticed that after @nunocoracao merged this commit, it seems to have caused some issues with the article links:
To double-check, I tried reverting the following commits: Whenever you have a chance, could you please take a look? Thanks a lot! |
Regarding Regarding |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@ZhenShuo2021 I fixed all mentioned issues in #2351. I did some testing and currently don't have a reason to think that this introduced additional bugs, I hope that this hotfix is working correctly now. |
|
@servedsmart thank you very much for your quick fix! |
…ogic-with-anchor-tags 🚑 Hotfix for issues in #2252
Purpose
Using javascript instead of just using
<a>tag is bad practice regarding accessibility and automated processing of web pages. Even the browser doesn't show a hint if hovering badges when using the old implementation. This in my opinion is a good way to replace inline event handlers in that code.Notes
Previously, this was part of #2231 and #2218, but after some thinking, I just split up the PR.
Warning