Skip to content

Commit

Permalink
Add aria label to table filter input
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Feb 5, 2025
1 parent 29e4b82 commit 5a00f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions shell/assets/translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5375,6 +5375,7 @@ sortableTable:
=1 {{count} {count, plural, =1 {{singularLabel}} other {{pluralLabel}}}}
other {{from} - {to} of {count} {pluralLabel}}}
search: Filter
searchLabel: Filter table results
in: in
addFilter: Add Filter
filterFor: Filter for...
Expand Down
1 change: 1 addition & 0 deletions shell/components/SortableTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@ export default {
v-model="eventualSearchQuery"
type="search"
class="input-sm search-box"
:aria-label="t('sortableTable.searchLabel')"
:placeholder="t('sortableTable.search')"
>
<slot name="header-button" />
Expand Down

0 comments on commit 5a00f4e

Please sign in to comment.