mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 22:36:08 +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}}
|
||||
</a>
|
||||
{{else}}
|
||||
<a href {{on "click" this.composer.cancel}} class="cancel">{{i18n
|
||||
"close"
|
||||
}}</a>
|
||||
<a
|
||||
href
|
||||
{{on "click" this.composer.cancel}}
|
||||
class="cancel"
|
||||
role="button"
|
||||
>{{i18n "close"}}</a>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.composer.site.mobileView}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user