aboutsummaryrefslogtreecommitdiff
path: root/src/components/search_bar/search_bar.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-01-28 22:59:40 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-01-28 22:59:40 +0000
commita08378253fe8ca72d178b19c5d45da21100cfe71 (patch)
treeae8f50884a933c7512b8aaf52d36233383098c75 /src/components/search_bar/search_bar.vue
parent2635e24679b8f3492ba9056f35d0964749eb9867 (diff)
parent1ab958ba6b0ad1e1449fd8fe6b0bc8729520ce12 (diff)
Merge branch 'tusooa/topbar-alttext' into 'develop'
Accessibility fixes for panel headers/top bar See merge request pleroma/pleroma-fe!1772
Diffstat (limited to 'src/components/search_bar/search_bar.vue')
-rw-r--r--src/components/search_bar/search_bar.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue
index 3969d8de..9da2b272 100644
--- a/src/components/search_bar/search_bar.vue
+++ b/src/components/search_bar/search_bar.vue
@@ -8,6 +8,7 @@
class="button-unstyled nav-icon"
:title="$t('nav.search')"
type="button"
+ :aria-expanded="!hidden"
@click.prevent.stop="toggleHidden"
>
<FAIcon
@@ -29,6 +30,7 @@
<button
class="button-default search-button"
type="submit"
+ :title="$t('nav.search')"
@click="find(searchTerm)"
>
<FAIcon
@@ -39,6 +41,8 @@
<button
class="button-unstyled cancel-search"
type="button"
+ :title="$t('nav.search_close')"
+ :aria-expanded="!hidden"
@click.prevent.stop="toggleHidden"
>
<FAIcon