mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-26 07:23:35 +00:00
Accessibility Improvements (#467)
* accessibility improvements * fix listen icon
This commit is contained in:
parent
4a8927c794
commit
40b74c7745
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<h1 class="uk-text-bold uk-text-center">Watch History</h1>
|
||||
<h1 class="uk-text-bold uk-text-center">{{ $t("titles.history") }}</h1>
|
||||
|
||||
|
||||
<div style="text-align: right">
|
||||
|
@ -7,7 +7,8 @@
|
||||
type="text"
|
||||
v-model="username"
|
||||
autocomplete="username"
|
||||
placeholder="Username"
|
||||
:placeholder="$t('login.username')"
|
||||
:aria-label="$t('login.username')"
|
||||
/>
|
||||
</div>
|
||||
<div class="uk-form-row">
|
||||
@ -16,7 +17,8 @@
|
||||
type="password"
|
||||
v-model="password"
|
||||
autocomplete="password"
|
||||
placeholder="Password"
|
||||
:placeholder="$t('login.password')"
|
||||
:aria-label="$t('login.password')"
|
||||
/>
|
||||
</div>
|
||||
<div class="uk-form-row">
|
||||
|
@ -19,7 +19,9 @@
|
||||
<input
|
||||
class="uk-input uk-width-medium"
|
||||
type="text"
|
||||
placeholder="Search"
|
||||
role="search"
|
||||
:title="$t('actions.search')"
|
||||
:placeholder="$t('actions.search')"
|
||||
v-model="searchText"
|
||||
@keyup="onKeyUp"
|
||||
@focus="onInputFocus"
|
||||
@ -50,7 +52,9 @@
|
||||
<input
|
||||
class="uk-input"
|
||||
type="text"
|
||||
placeholder="Search"
|
||||
role="search"
|
||||
:title="$t('actions.search')"
|
||||
:placeholder="$t('actions.search')"
|
||||
v-model="searchText"
|
||||
@keyup="onKeyUp"
|
||||
@focus="onInputFocus"
|
||||
|
@ -194,7 +194,7 @@
|
||||
<td>{{ instance.locations }}</td>
|
||||
<td>{{ instance.cdn == "Yes" ? $t("actions.yes") : $t("actions.no") }}</td>
|
||||
<td>
|
||||
<a :href="sslScore(instance.apiurl)" target="_blank">Click Here</a>
|
||||
<a :href="sslScore(instance.apiurl)" target="_blank"> {{ $t("actions.view_ssl_score") }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -7,7 +7,8 @@
|
||||
type="text"
|
||||
v-model="username"
|
||||
autocomplete="username"
|
||||
placeholder="Username"
|
||||
:placeholder="$t('login.username')"
|
||||
:aria-label="$t('login.username')"
|
||||
/>
|
||||
</div>
|
||||
<div class="uk-form-row">
|
||||
@ -16,7 +17,8 @@
|
||||
type="password"
|
||||
v-model="password"
|
||||
autocomplete="password"
|
||||
placeholder="Password"
|
||||
:placeholder="$t('login.password')"
|
||||
:aria-label="$t('login.password')"
|
||||
/>
|
||||
</div>
|
||||
<div class="uk-form-row">
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{ $route.query.search_query }}
|
||||
</h1>
|
||||
|
||||
<label for="ddlSearchFilters"><b>Filter: </b></label>
|
||||
<label for="ddlSearchFilters"><b>{{ $t("actions.filter") }}: </b></label>
|
||||
<select
|
||||
id="ddlSearchFilters"
|
||||
default="all"
|
||||
|
@ -6,7 +6,7 @@
|
||||
:width="width"
|
||||
style="width: 100%"
|
||||
v-bind:src="video.thumbnail"
|
||||
alt="thumbnail"
|
||||
alt=""
|
||||
loading="lazy"
|
||||
/>
|
||||
<div class="uk-position-relative">
|
||||
@ -30,14 +30,14 @@
|
||||
</router-link>
|
||||
|
||||
<div class="uk-align-right" style="margin-left: 0; margin-bottom: 0; display: inline-block; width: 10%">
|
||||
<router-link :to="video.url + '&listen=1'">
|
||||
<router-link :to="video.url + '&listen=1'" :aria-label="'listen to '+video.title" :title="'listen to '+video.title">
|
||||
<font-awesome-icon icon="headphones"></font-awesome-icon>
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
<div v-if="video.uploaderUrl && video.uploaderName && !hideChannel" style="display: flex; flex-flow: row; height: 15%">
|
||||
<router-link class="uk-link-muted" :to="video.uploaderUrl">
|
||||
<img v-if="video.uploaderAvatar" :src="video.uploaderAvatar" loading="lazy" class="uk-border-circle" style="margin-right: 0.5rem; margin-top:0.5rem; width: 32px; height: 32px;" />
|
||||
<img v-if="video.uploaderAvatar" :src="video.uploaderAvatar" loading="lazy" :alt="video.uploaderName" class="uk-border-circle" style="margin-right: 0.5rem; margin-top:0.5rem; width: 32px; height: 32px;" />
|
||||
</router-link>
|
||||
|
||||
<div>
|
||||
|
@ -1,8 +1,7 @@
|
||||
<template>
|
||||
<div>Loading...</div>
|
||||
<div>{{ $t("actions.loading") }}</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
export default {
|
||||
activated() {
|
||||
|
@ -56,7 +56,7 @@
|
||||
</div>
|
||||
|
||||
<div class="uk-flex uk-flex-middle uk-margin-small-top">
|
||||
<img :src="video.uploaderAvatar" loading="lazy" class="uk-border-circle" />
|
||||
<img :src="video.uploaderAvatar" alt="" loading="lazy" class="uk-border-circle" />
|
||||
<router-link class="uk-link uk-margin-small-left" v-if="video.uploaderUrl" :to="video.uploaderUrl">
|
||||
{{ video.uploader }} </router-link
|
||||
> <font-awesome-icon v-if="video.uploaderVerified" icon="check"></font-awesome-icon>
|
||||
|
@ -58,7 +58,11 @@
|
||||
"minimize_description": "Minimize Description",
|
||||
"show_description": "Show Description",
|
||||
"disable_lbry": "Disable LBRY for Streaming",
|
||||
"enable_lbry_proxy": "Enable Proxy for LBRY"
|
||||
"enable_lbry_proxy": "Enable Proxy for LBRY",
|
||||
"view_ssl_score": "View SSL Score",
|
||||
"search": "Search",
|
||||
"filter": "Filter",
|
||||
"loading": "Loading..."
|
||||
},
|
||||
"comment": {
|
||||
"pinned_by": "Pinned by"
|
||||
@ -69,6 +73,10 @@
|
||||
"has_cdn":"Has CDN?",
|
||||
"ssl_score":"SSL Score"
|
||||
},
|
||||
"login": {
|
||||
"username":"Username",
|
||||
"password":"Password"
|
||||
},
|
||||
"video": {
|
||||
"videos": "Videos",
|
||||
"views": "views",
|
||||
|
Loading…
Reference in New Issue
Block a user