fix: header improvements #1664
Annotations
2 errors
src/header/header.test.ts > header > should pass axe tests:
packages/html/ds/src/common/render.ts#L92
Error: label: Ensure every form element has a label
- <input id="search" data-testid="textbox" type="text" autocomplete="on" class="gi-border-gray-950 gi-w-full gi-text-input ">
Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role="none" or role="presentation"
❯ Object.axe src/common/render.ts:92:17
❯ src/header/header.test.ts:79:5
|
build
Process completed with exit code 1.
|