-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Improve accessibility of notes #2795
Improve accessibility of notes #2795
Conversation
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.
There is still nothing added to Important. The others are looking great!
I don't understand the feedback. Can you detail or add a screenshot? |
When I checked in /test in netlify I did not see the "Important:" on the important note. Let me double check. |
_scss/_notes.scss
Outdated
color: $warning-color; | ||
} | ||
|
||
blockquote.warning > p:first-child::before { | ||
content: 'Be careful: '; |
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.
Oh I see. Is this the prefix we want to use?
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.
I'm using the warning
and danger
classes, since other front-end frameworks like bootstrap use classes like that with the same semantics.
Yes, I just don't like the |
@mstanleyjones I know that there are a few docs out there that converged in a common terminology but I don't think they are well established trends. They are mostly conventions developed by older docsets. If you look at the new kids in the block, they have very few notes/warnings, and tend to only have a single style for them. I'm shooting for a compromise between fun and accessibility. We're the fun side of enterprise 🐳 |
3e829e7
to
6198dbb
Compare
@mstanleyjones the feedback was addressed. If you're ok merge this and label #2784 as counted. |
Extends #2710 to
fix #2784