Problem/Motivation

If one site search is used in multiple locations, like the header on desktop AND mobile, for example, then each search input should have a different ID. The for attribute on the label should reflect this new ID.

Example of the error can be found on Vertafore.
Run the WAVE tool. and eview the search input: You will see it says "Multiple form label"

This has been resolved on HRW Film Festival for reference.

This is considered done if the WAVE error is no longer appearing

Comments

michaelablackham created an issue. See original summary.

jldust’s picture

Version: 8.x-3.x-dev » 4.x-dev
jldust’s picture

Status: Active » Needs work

This appears to actually be a core issue: Cached forms can have duplicate HTML IDs, which disrupts accessible form labels. We will have to see if a temporary/work-around solution can be placed within Prototype.

jldust’s picture

Status: Needs work » Closed (works as designed)

This has been confirmed as a core issue and we will not be adding a work around into Prototype, marking as closed.