A11Y: Add aria-label to input clear button (#11803)

This commit is contained in:
Kris 2021-01-21 21:58:34 -05:00 committed by GitHub
parent ff095e7249
commit e031679f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
class="btn-clear"
icon="times"
action=selectKit.onClearSelection
ariaLabel="clear_input"
}}
{{/if}}

View File

@ -17,6 +17,7 @@
icon="times"
action=selectKit.deselect
actionParam=item
ariaLabel="clear_input"
}}
{{/if}}
{{/if}}

View File

@ -210,6 +210,7 @@ en:
us_west_1: "US West (N. California)"
us_west_2: "US West (Oregon)"
clear_input: "Clear input"
edit: "edit the title and category of this topic"
expand: "Expand"
not_implemented: "That feature hasn't been implemented yet, sorry!"