emory-libraries / Pattern-Library

Minimal pattern library based on Emory Libraries' website redesign
0 stars 1 forks source link

Add Aria attributes or labels to form elements #328

Closed rosy1280 closed 4 years ago

rosy1280 commented 4 years ago

The attached report from CPA suggests adding either labels or aria attributes to form elements. On our site these appear specifically in the following locations:

Consider which of the options they suggest makes the most sense and implement them.

rosy1280 commented 4 years ago

If you choose to use aria labels, you should also make sure that HTML Landmarks are properly marked as well. If you choose not to go with aria labels, this should be broken out into a separate ticket and include in Epic #330

kristianserrano commented 4 years ago

@rosy1280 I've updated the documented inputs, searches, and selects with ARIA labels and roles for the header and navigation.

Homepage template

Subject Librarian Directory template

Staff Directory template

Services template

kristianserrano commented 4 years ago

Changes HH will need to make in velocity to match the pattern library.