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) {
|
html(attrs, state) {
|
||||||
const rows = [h("a.tabLoc", { attributes: { href: "" } })];
|
const rows = [
|
||||||
|
h("a.tabLoc", { attributes: { href: "", "aria-hidden": true } })
|
||||||
|
];
|
||||||
if (state.repliesAbove.length) {
|
if (state.repliesAbove.length) {
|
||||||
const replies = state.repliesAbove.map(p => {
|
const replies = state.repliesAbove.map(p => {
|
||||||
return this.attach("embedded-post", p, {
|
return this.attach("embedded-post", p, {
|
||||||
|
|
Loading…
Reference in New Issue