Page MenuHomePhorge

No OneTemporary

Size
6 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/activity_header/activity_header.vue b/src/components/activity_header/activity_header.vue
index 871d444b70..0bc7375421 100644
--- a/src/components/activity_header/activity_header.vue
+++ b/src/components/activity_header/activity_header.vue
@@ -134,7 +134,7 @@
v-if="nonMention && status"
class="button-unstyled expand-icon"
:title="$t('tool_tip.toggle_expand')"
- :aria-expanded="expanded"
+ :aria-expanded="expanded ? 'true' : 'false'"
@click.prevent="$emit('toggleExpanded')"
>
<FAIcon
diff --git a/src/components/draft/draft.vue b/src/components/draft/draft.vue
index 2b5bfaf962..0c783e354e 100644
--- a/src/components/draft/draft.vue
+++ b/src/components/draft/draft.vue
@@ -94,7 +94,7 @@
<div class="actions">
<button
class="btn button-default"
- :aria-expanded="editing"
+ :aria-expanded="editing ? 'true' : 'false'"
@click.prevent.stop="toggleEditing"
>
{{ editing ? $t('drafts.save') : $t('drafts.continue') }}
diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue
index b3086d6795..1d83a6dc52 100644
--- a/src/components/nav_panel/nav_panel.vue
+++ b/src/components/nav_panel/nav_panel.vue
@@ -13,7 +13,7 @@
<button
:title="$t('nav.expand_navigation')"
class="button-unstyled"
- :aria-expanded="!collapsed"
+ :aria-expanded="!collapsed ? 'true' : 'false'"
@click="toggleCollapse"
>
<FAIcon
@@ -33,7 +33,7 @@
:show-pin="false"
:item="{ icon: 'stream', label: 'nav.timelines' }"
aria-controls="nav-timelines-list"
- :aria-expanded="showTimelines"
+ :aria-expanded="showTimelines ? 'true' : 'false'"
@click="toggleTimelines"
>
<FAIcon
@@ -48,7 +48,7 @@
:class="{ '-expanded': showTimelines }"
id="nav-timelines-list"
:aria-label="$t('nav.timelines')"
- :aria-expanded="showTimelines"
+ :aria-expanded="showTimelines ? 'true' : 'false'"
role="group"
>
<div class="timelines">
@@ -92,7 +92,7 @@
:class="{ '-expanded': showLists }"
id="nav-lists-list"
:aria-label="$t('nav.lists')"
- :aria-expanded="showLists"
+ :aria-expanded="showLists ? 'true' : 'false'"
role="group"
>
<ListsMenuContent
@@ -131,7 +131,7 @@
class="timelines-background menu-item-collapsible"
:class="{ '-expanded': showBookmarkFolders }"
:aria-label="$t('nav.bookmark_folders')"
- :aria-expanded="showBookmarkFolders"
+ :aria-expanded="showBookmarkFolders ? 'true' : 'false'"
id="nav-bookmark-folders-list"
role="group"
>
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index 8eecdc29c4..3b094ee5df 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -17,7 +17,7 @@
<div
v-if="needMute && !unmuted"
:id="'notif-' +notification.id"
- :aria-expanded="statusExpanded"
+ :aria-expanded="statusExpanded ? 'true' : 'false'"
:aria-controls="'notif-' +notification.id"
class="Notification container -muted"
>
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue
index b5c2bd67ed..fef5f81d6e 100644
--- a/src/components/popover/popover.vue
+++ b/src/components/popover/popover.vue
@@ -7,7 +7,7 @@
:class="triggerClass"
:aria-haspopup="ariaHasPopup"
:aria-owns="hidden ? undefined : `${idPrefix}content`"
- :aria-expanded="!hidden"
+ :aria-expanded="!hidden ? 'true' : 'false'"
:aria-label="label"
@mouseenter="onMouseenter"
@mouseleave="onMouseleave"
diff --git a/src/components/quote/quote.vue b/src/components/quote/quote.vue
index bdfc4f930c..fa5feb4ba5 100644
--- a/src/components/quote/quote.vue
+++ b/src/components/quote/quote.vue
@@ -5,7 +5,7 @@
>
<button
class="button-unstyled -link display-quoted-status-button"
- :aria-expanded="shouldDisplayQuote"
+ :aria-expanded="shouldDisplayQuote ? 'true' : 'false'"
@click="toggleDisplayQuote"
>
{{ shouldDisplayQuote ? $t('status.hide_quote') : $t('status.display_quote') }}
diff --git a/src/components/search/search.vue b/src/components/search/search.vue
index 574ca5d77b..50d2394235 100644
--- a/src/components/search/search.vue
+++ b/src/components/search/search.vue
@@ -26,7 +26,7 @@
class="btn button-default"
@click="toogleAdvanced"
:aria-label="$t('search.advanced')"
- :aria-expanded="advancedMode"
+ :aria-expanded="advancedMode ? 'true' : 'false'"
>
<FAIcon :icon="advancedMode ? 'chevron-up' : 'chevron-down'" />
</button>
diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue
index 00aadb0e7b..1209bf0d04 100644
--- a/src/components/search_bar/search_bar.vue
+++ b/src/components/search_bar/search_bar.vue
@@ -8,7 +8,7 @@
class="button-unstyled nav-icon"
:title="$t('nav.search')"
type="button"
- :aria-expanded="!hidden"
+ :aria-expanded="!hidden ? 'true' : 'false'"
@click.prevent.stop="toggleHidden"
>
<FAIcon
@@ -43,7 +43,7 @@
class="button-unstyled cancel-search"
type="button"
:title="$t('nav.search_close')"
- :aria-expanded="!hidden"
+ :aria-expanded="!hidden ? 'true' : 'false'"
@click.prevent.stop="toggleHidden"
>
<FAIcon
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue
index dc66ab95b8..33d49ca48c 100644
--- a/src/components/status_body/status_body.vue
+++ b/src/components/status_body/status_body.vue
@@ -63,7 +63,7 @@
>
<button
class="btn button-default toggle-button"
- :aria-expanded="showingMore"
+ :aria-expanded="showingMore ? 'true' : 'false'"
@click.prevent="toggleShowMore"
>
{{ toggleText }}

File Metadata

Mime Type
text/x-diff
Expires
Wed, Oct 14, 10:30 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1787099
Default Alt Text
(6 KB)

Event Timeline