mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
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…
x
Reference in New Issue
Block a user