mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
A11Y: history modal mode toggles need aria-labels (#20125)
This commit is contained in:
parent
a32e6b5771
commit
3cb8be706c
@ -58,6 +58,7 @@
|
||||
class={{this.inlineClass}}
|
||||
{{on "click" this.displayInline}}
|
||||
title={{i18n "post.revisions.displays.inline.title"}}
|
||||
aria-label={{i18n "post.revisions.displays.inline.title"}}
|
||||
>
|
||||
{{d-icon "far-square"}}
|
||||
{{i18n "post.revisions.displays.inline.button"}}
|
||||
@ -69,6 +70,7 @@
|
||||
class={{this.sideBySideClass}}
|
||||
{{on "click" this.displaySideBySide}}
|
||||
title={{i18n "post.revisions.displays.side_by_side.title"}}
|
||||
aria-label={{i18n "post.revisions.displays.side_by_side.title"}}
|
||||
>
|
||||
{{d-icon "columns"}}
|
||||
{{i18n "post.revisions.displays.side_by_side.button"}}
|
||||
@ -82,6 +84,9 @@
|
||||
title={{i18n
|
||||
"post.revisions.displays.side_by_side_markdown.title"
|
||||
}}
|
||||
aria-label={{i18n
|
||||
"post.revisions.displays.side_by_side_markdown.title"
|
||||
}}
|
||||
>
|
||||
{{d-icon "columns"}}
|
||||
{{i18n "post.revisions.displays.side_by_side_markdown.button"}}
|
||||
|
Loading…
Reference in New Issue
Block a user