From 345d7eed2c51b815f25184e857d6fca52fc89b5b Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sat, 6 Nov 2021 10:25:46 -0400 Subject: [PATCH] fix broken accessibility for search field This PR fixes the incorrect use of `role=search` on the `` 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 `
` 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 --- resources/views/layouts/partial/nav.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/layouts/partial/nav.blade.php b/resources/views/layouts/partial/nav.blade.php index 032474f9b..0cd1405e5 100644 --- a/resources/views/layouts/partial/nav.blade.php +++ b/resources/views/layouts/partial/nav.blade.php @@ -8,8 +8,8 @@