File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/pluggableWidgets/skiplink-web/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function SkipLink(props: SkipLinkContainerProps) {
1717 }
1818 } , [ skipLinkRef . current ] ) ;
1919
20- function handleClick ( event : MouseEvent < HTMLAnchorElement , MouseEvent > ) : void {
20+ function handleClick ( event : MouseEvent ) : void {
2121 event . preventDefault ( ) ;
2222 let main : HTMLElement ;
2323 const mainByID = document . getElementById ( props . mainContentId ) ;
@@ -47,7 +47,7 @@ export function SkipLink(props: SkipLinkContainerProps) {
4747 return (
4848 < a
4949 ref = { skipLinkRef }
50- className = { `skip-link ${ props . class } ` }
50+ className = { `widget- skip-link ${ props . class } ` }
5151 href = { `#${ props . mainContentId } ` }
5252 tabIndex = { props . tabIndex }
5353 onClick = { handleClick }
Original file line number Diff line number Diff line change 1- .skip-link {
1+ .widget. skip-link {
22 position : absolute ;
33 top : 0 ;
44 left : 0 ;
1414 font-weight : bold ;
1515}
1616
17- .skip-link :focus {
17+ .widget. skip-link :focus {
1818 transform : translateY (0 );
1919 outline : none ;
2020}
You can’t perform that action at this time.
0 commit comments