We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aria-*
1 parent 50ec699 commit 2047c41Copy full SHA for 2047c41
src/components/header/CHeaderToggler.tsx
@@ -14,14 +14,7 @@ export const CHeaderToggler = forwardRef<HTMLButtonElement, CHeaderTogglerProps>
14
const _className = classNames('header-toggler', className)
15
16
return (
17
- // TODO: aria-expanded="false"
18
- <button
19
- type="button"
20
- className={_className}
21
- aria-label="Toggle navigation"
22
- {...rest}
23
- ref={ref}
24
- >
+ <button type="button" className={_className} {...rest} ref={ref}>
25
{children ? children : <span className="header-toggler-icon"></span>}
26
</button>
27
)
0 commit comments