1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 09:17:03 +00:00
pixelfed/resources/views
Scott O'Hara 345d7eed2c
fix broken accessibility for search field
This PR fixes the incorrect use of `role=search` on the `<input>` element.  The `search` role is not a type of text input, and its use here was negating the semantics of the text field's ability to announce itself as a text field to screen readers.  The proper place for a `role=search` is on the `<form>` element that contains this input, so I have placed it there in this fix.

There are likely other accessibility improvements that could be made in this file, but this was an easy fix that I figured I could make a quick PR for.  

Thanks
2021-11-06 10:25:46 -04:00
..
account Update verify email screen, add contact admin link 2021-06-13 00:37:54 -06:00
admin Add Stories to admin dashboard 2021-08-31 00:33:04 -06:00
atom
auth Update captcha views 2020-12-12 21:12:30 -07:00
collection
discover
emails
errors Add diagnostics to error page and admin dashboard 2021-07-01 21:46:45 -06:00
federation
layouts fix broken accessibility for search field 2021-11-06 10:25:46 -04:00
profile Update story views 2021-10-19 22:07:57 -06:00
pxtv
report
search
settings Add default licenses and license sync 2021-07-24 22:13:14 -06:00
site Update index.blade.php 2021-10-14 19:14:46 -04:00
status Update status.reply view, fix archived post leakage 2021-07-27 00:27:36 -06:00
stories Update story views 2021-10-19 22:07:57 -06:00
timeline Update blade views 2021-08-31 01:12:16 -06:00
vendor
home.blade.php
welcome.blade.php