-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
120 skiplinks b #307
120 skiplinks b #307
Conversation
… twig file for the styleguide that demonstrates their usage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You definitely put in the effort for this one. I'm totally ok with splitting this up in to separate templates as it gives a good 'working example' of how it can be done. A couple of comments for refinement however:
- Twig template names. Can we remove the underscore as that is not a twig convention but only a SASS convention?
- Can we restore the anchor naming work that Yvonne and Joe had done previously?
- The skip to content options that I have seen before, jump to an anchor on a div instead of into a heading. Not having actually tested this, I would imagine that a screen reader's behavior would differ if we jumped to a heading and I am not sure the repercussions of this. Something to ask Jiatyan.
Oh, yeah, sure. Sorry, I thought I had seen twig files named that way.
I don't think so, because:
I therefore picked an ID I thought would be unique but not bizarre:
It's a heading so the screen reader will actually read it. We had this discussion for homesite, and that's why homesite uses an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like you have done your due diligence on this behavior. Good to me.
@yvonnetangsu you good with this, too? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks for the tweaks! 👍
No description provided.