Add aria-roledescription for page bookmark search results

This commit is contained in:
Jason Henriquez 2024-04-22 21:02:44 -05:00
parent 871e3307fc
commit f7b8f1ab55
2 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@
v-for="(entry, index) in visibleDataList"
:key="index"
:class="{ hover: searchState.selectedOption === index , bookmarked: entry.bookmarkName }"
:aria-roledescription="entry.bookmarkName ? $t('Role Descriptions.bookmark') : null"
@click="handleOptionClick(index)"
@mouseenter="searchState.selectedOption = index"
@mouseleave="searchState.selectedOption = -1"

View File

@ -1080,6 +1080,8 @@ Page Bookmark:
Created page bookmark: Created page bookmark "{bookmarkName}"
Updated page bookmark: Updated page bookmark "{bookmarkName}"
Removed page bookmark: Removed page bookmark "{bookmarkName}"
Role Descriptions:
bookmark: bookmark
Moments Ago: moments ago
Yes: Yes
No: No