Added comma to line 26 (#31595)
This commit is contained in:
@ -21,9 +21,8 @@ To allow visually impaired users to skip to the main content of a site and avoid
|
|||||||
...page content
|
...page content
|
||||||
</main>
|
</main>
|
||||||
```
|
```
|
||||||
3. Hide the "skip navigation" link by default.
|
3. Hide the "skip navigation" link by default. This ensures that the link is only visible to sighted users when the link is in focus.
|
||||||
This ensures that the link is only visible to sighted users when the link is in focus.
|
Create a class for the link that can be styled with CSS. In my example, I have added the class <code>skip-link</code>.
|
||||||
Create a class for the link that can be styled with CSS. In my example I have added the class <code>skip-link</code>.
|
|
||||||
```css
|
```css
|
||||||
.skip-link {
|
.skip-link {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Reference in New Issue
Block a user