1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 09:46:49 +00:00
pixelfed/resources/views/layouts/partial
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
..
footer.blade.php Update footer 2021-01-30 22:11:12 -07:00
nav.blade.php fix broken accessibility for search field 2021-11-06 10:25:46 -04:00
noauthnav.blade.php Update nav, add alt attributes 2020-07-21 09:34:55 -06:00