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

View File

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

View File

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

View File

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