A11Y: Make "Load parent post" element accessible (#18568)
This commit is contained in:
parent
c4812948f6
commit
d7c5a7033d
|
@ -140,6 +140,12 @@ createWidget("reply-to-tab", {
|
|||
return { loading: false };
|
||||
},
|
||||
|
||||
buildAttributes() {
|
||||
return {
|
||||
tabindex: "0",
|
||||
};
|
||||
},
|
||||
|
||||
html(attrs, state) {
|
||||
const icon = state.loading ? h("div.spinner.small") : iconNode("share");
|
||||
const name = prioritizeNameFallback(
|
||||
|
|
Loading…
Reference in New Issue