pixelfed/resources
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
..
assets Update dark mode styles, fix black box on stories. Closes #2982 2021-10-22 18:56:29 -06:00
lang Merge branch 'staging' into dev 2021-10-19 20:41:49 -06:00
views fix broken accessibility for search field 2021-11-06 10:25:46 -04:00