-
Notifications
You must be signed in to change notification settings - Fork 20
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
[docs] Best Practices and Guidelines ("This / Not This") examples improvements #1449
Comments
The Color page's Best Practices section uses this format. This is a sample of what the Dos and Don'ts currently look like in code:
It would be good to add this format as a shortcode. |
Also, is there a preference for using "This"/"Not this" vs "Do"/"Don't"? |
@marionnegp not really. I'm ok with using Do/Don't instead. Might be more of a common practice anyway. |
I did some initial work on this in #1465 The variation looks a bit different then the examples above as I used a Here is what the HTML looks like:
This component can be tweaked however we deem necessary as I was just evaluating using a slotted Right now |
@zeroedin, using There might be times we want to add more than one "do" or "don't" image (like if we split the two images in this audio player example) or have a best practice example be full-width. |
I believe this issue partially an ask to update all |
Break up our "This / Not This" best practices and guidelines images and examples into separate images and columns (or cards), similar to what we do on our Brand site.
This will make it easier to scan as well as improve non-visual accessibility.
"This" and "Not this" should be HTML text paired with an icon.
Current situation
What we're looking for
Pages that will need to be updated:
Unchecked tasks with a PR number are in progress
The text was updated successfully, but these errors were encountered: