fix: #3625416 Give placeholder-only exposed filters a visually hidden label

Exposed filters with a placeholder and no title now get a visually hidden label from the placeholder, in the theme form alter. This labels the header search keywords field ("Search by keyword"), which Varbase Search Base ships with an empty label.

Checked anonymous at 1440 and 375: every keywords field renders a visually hidden label tied to its own id.

The duplicate views-exposed-form-search-header-search id comes from the recipe placing the search block twice on one page, so it is left to the recipe.

Closes #3625416.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading