Theme colour switcher

Blog Topic: forms

During lived user accessibility testing, one pattern I've repeatedly found to be a problem for blind users is multiple inputs for one piece of data. For example: A Canadian postal code with separate inputs for each character A driver's license number with three inputs, one for each set of five characters A credit card date with separate inputs for month and year Why is this done? Typically, it'…

Continue reading Multiple form inputs for one piece of data: bad news for accessibility

By default, the label for the core Search module text input in Drupal 8 is invisible, that is, it's present but visually hidden so users of assistive technology can read it. But what if you want to display it visually? There's no way to do it through configuration, and little to no information about how to do it with code. I found where the visibility was being set, in SearchBlockForm.php in the…

Continue reading How to make core search block form label visible - Drupal 8