pixelfed/resources/views/settings/accessibility.blade.php
2024-12-12 15:58:30 +01:00

61 lines
No EOL
3.2 KiB
PHP

@extends('settings.template')
@section('section')
<div class="title">
<h3 class="font-weight-bold">{{__('settings.accessibility')}}</h3>
</div>
<hr>
<form method="post">
@csrf
{{--<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="compose_media_descriptions" id="media_descriptions" {{$settings->compose_media_descriptions ? 'checked=""':''}} disabled>
<label class="form-check-label font-weight-bold" for="compose_media_descriptions">
{{__('Require media descriptions')}}
</label>
<p class="text-muted small help-text">Requires you to describe images for the visually impaired. <a href="#">Learn more</a>.</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="compose_media_descriptions" id="media_descriptions">
<label class="form-check-label font-weight-bold" for="compose_media_descriptions">
{{__('LiteUI')}}
</label>
<p class="text-muted small help-text">LiteUI is a lightweight, non-js design for low bandwidth devices. <a href="#">Learn more</a>.</p>
</div> --}}
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="reduce_motion" id="reduce_motion" {{$settings->reduce_motion ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="reduce_motion">
{{__('settings.accessibility.reduce_motion')}}
</label>
<p class="text-muted small help-text">{{__('settings.accessibility.prevent_animation_effects')}}</p>
</div>
{{-- <div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="optimize_screen_reader" id="optimize_screen_reader" {{$settings->optimize_screen_reader ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="optimize_screen_reader">
{{__('Enhanced Screen Reader Mode')}}
</label>
<p class="text-muted small help-text">Optimizes the experience for screen readers.</p>
</div> --}}
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="high_contrast_mode" id="high_contrast_mode" {{$settings->high_contrast_mode ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="high_contrast_mode">
{{__('settings.accessibility.high_contrast_mode')}}
</label>
<p class="text-muted small help-text">{{__('settings.accessibility.high_contrast_mode_for_the_visually_impaired')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="video_autoplay" id="video_autoplay" {{$settings->video_autoplay ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="video_autoplay">
{{__('settings.accessibility.disable_video_autoplay')}}
</label>
<p class="text-muted small help-text">{{__('settings.accessibility.prevent_videos_from_autoplaying')}}</p>
</div>
<div class="form-group row mt-5 pt-5">
<div class="col-12 text-right">
<hr>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>
@endsection