CityOfBoston / Iterators

Repo to host files and manage issue tracking and QA tetsing.
0 stars 0 forks source link

The Search text fields needs its label to be outside the search text field #195

Closed ollie-iterators closed 3 years ago

ollie-iterators commented 4 years ago

Screengrab/videos (insert file names here) 2020 11 09, Search text field needs labels outside of search text field.mp4 2020 11 09, Search text field needs labels outside of search text field.mp4.zip

Link https://d8-stg.boston.gov/calendar/mayor-main-trolley-tour-day-3

Node # (if known) 45361

Type of User: Anonymous

Environment (Device > OS > Browser) Computer > MacOS 10.15.7 > Chrome 68

Trusted Tester Test Forms

Brief Description The Search text fields needs its label to be outside the search text field

Steps to reproduce 1) 00:00, Load the URL 2) 00:04, Click on the Search button at the top of the page 3) 00:07, enter in some text into the field a) Note: The label for the field goes away. This is a bug

Desired Result • Labels for text fields are outside the text field

Actual Result • The label for the search text field is inside the text field, which goes away once someone starts typing in the field.

david-iterators commented 3 years ago

Hi @subaha-cob and @mmcgowanBOS This is also a subtle issue and is open to some interpretation based on a review of other people's comments on the internet. Please see the attached information and let us know if you have feedback or suggestions, or if you would like to discuss this further. Thanks Placeholders in Form Fields, 01, Are Harmful.pdf Placeholders in Form Fields, 02, Form Instructions • Forms • WAI Web Accessibility Tutorials.pdf Placeholders in Form Fields.pdf

subaha-cob commented 3 years ago

@sebastianebarb and @carolinestj In order to pass accessibility our input form needs to have a label in display. For example the search field does not have a visible label. Once a user clicks instead of the input field the placeholder text disappears. We are going to need a label next to the input field. Thanks.

Placeholders in Form Fields, 01, Are Harmful.pdf Placeholders in Form Fields, 02, Form Instructions • Forms • WAI Web Accessibility Tutorials.pdf Placeholders in Form Fields.pdf

sebastianebarb commented 3 years ago

@subaha-cob I am a huge fan of labels and text in from feilds. We pushed Ideo to add labels to all input fields but were unsuccessful. How would you like us to provide you details on UI?

subaha-cob commented 3 years ago

@sebastianebarb do we have a place we typically file/drop designs? If we do, drop the updated design there and update this ticket with the link to the folder plus an image of the UI design.

subaha-cob commented 3 years ago

@sebastianebarb What is the status of this?

subaha-cob commented 3 years ago

@david-iterators and @jill-iterators Will it be an issue still if we make screen readers see the labels, while hiding them for mouse users? Thanks!

sebastianebarb commented 3 years ago

Screen Shot 2021-05-10 at 12 39 02 PM Screen Shot 2021-05-10 at 12 38 55 PM

subaha-cob commented 3 years ago

Hi @david-iterators , @jill-iterators , @ollie-iterators Please take a look at the two alternative design label above and let us know if either one of the solutions solves the issue. If it does, we will then implement the solution on boston.gov. Thank you!

david-EMS commented 3 years ago

Hi @subaha-cob Thanks for the questions.

Thanks

subaha-cob commented 3 years ago

@david-iterators this is now on UAT for testing.

ollie-iterators commented 3 years ago

Verified on UAT