package httpd import ( "regexp" "strings" "testing" "gitbay.org/gitbay/internal/web" ) var ( inputTag = regexp.MustCompile(`]*>`) labelFor = regexp.MustCompile(`]*\bfor="([^"]+)"`) labelWraps = regexp.MustCompile(`(?s)]*>.*?`) attrID = regexp.MustCompile(`\bid="([^"]+)"`) attrType = regexp.MustCompile(`\btype="([^"]+)"`) ariaLabel = regexp.MustCompile(`\baria-label(?:ledby)?="`) ) // Every input a person types into needs an accessible name: a