Added names to sections for accessibility

This commit is contained in:
RemixDev 2020-09-23 17:25:27 +02:00
parent fdd30396b7
commit 0ff20aa594
5 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,6 +5,7 @@
@transitionend="$refs.container.style.transition = ''"
ref="container"
:data-label="$t('downloads')"
aria-label="downloads"
>
<div id="download_tab_drag_handler" @mousedown.prevent="startDrag" ref="dragHandler"></div>
<i
@ -337,4 +338,3 @@ export default {
}
}
</script>

View File

@ -1,5 +1,5 @@
<template>
<main id="main_content">
<main id="main_content" aria-label="content">
<TheContent />
<!-- <BaseLoadingPlaceholder id="search_placeholder" text="Searching..." :hidden="true" /> -->
</main>
@ -30,4 +30,4 @@ export default {
</script>
<style>
</style>
</style>

View File

@ -1,5 +1,5 @@
<template>
<header id="search">
<header id="search" aria-label="searchbar">
<div class="search__icon">
<i class="material-icons">search</i>
</div>

View File

@ -1,5 +1,5 @@
<template>
<aside id="sidebar" role="navigation">
<aside id="sidebar" role="navigation" aria-label="sidebar">
<router-link
v-for="link in links"
:key="link.id"