mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00:00
Hide empty anchor tag from screen readers
This commit is contained in:
parent
1983f0d06e
commit
bdaf07adcf
@ -532,7 +532,9 @@ createWidget("post-article", {
|
||||
},
|
||||
|
||||
html(attrs, state) {
|
||||
const rows = [h("a.tabLoc", { attributes: { href: "" } })];
|
||||
const rows = [
|
||||
h("a.tabLoc", { attributes: { href: "", "aria-hidden": true } })
|
||||
];
|
||||
if (state.repliesAbove.length) {
|
||||
const replies = state.repliesAbove.map(p => {
|
||||
return this.attach("embedded-post", p, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user