mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 04:06:40 +08:00
A11Y: Add role="button" to composer cancel button (#25228)
This commit is contained in:
parent
9b61b72e33
commit
d42159babe
@ -278,9 +278,12 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href {{on "click" this.composer.cancel}} class="cancel">{{i18n
|
<a
|
||||||
"close"
|
href
|
||||||
}}</a>
|
{{on "click" this.composer.cancel}}
|
||||||
|
class="cancel"
|
||||||
|
role="button"
|
||||||
|
>{{i18n "close"}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if this.composer.site.mobileView}}
|
{{#if this.composer.site.mobileView}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user