fix(theme-classic): add missing role=region to SkipToContent (#6288)
This commit is contained in:
parent
f87a3ead46
commit
bcc05e243f
|
|
@ -40,7 +40,7 @@ function SkipToContent(): JSX.Element {
|
|||
});
|
||||
|
||||
return (
|
||||
<div ref={containerRef}>
|
||||
<div ref={containerRef} role="region">
|
||||
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
||||
<a href="#" className={styles.skipToContent} onClick={handleSkip}>
|
||||
<Translate
|
||||
|
|
|
|||
Loading…
Reference in New Issue