Skip to content
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

We should provide a callout card component for emphasizing content #1295

Open
mxmason opened this issue Jun 17, 2021 · 1 comment
Open

We should provide a callout card component for emphasizing content #1295

mxmason opened this issue Jun 17, 2021 · 1 comment
Assignees
Labels
claimed Work is being done on an issue. content Issues dealing with our published content. design Issues with the visual appearance of the site.

Comments

@mxmason
Copy link
Member

mxmason commented Jun 17, 2021

What is it?

Callout cards use visual affordances (like borders, lead words, or other shapes) to indicate that a pierce of content is important. The effect usually results in the content appearing as if it is a card laid on top of the site. Importantly, there are no HTML elements or ARIA attributes to indicate that content needs emphasis. Callout cards must rely on content and visual affordance – ideally, both.

What we have now

The closest thing The A11Y Project has to a callout card is our visual design for a blockquote.

CleanShot 2021-06-17 at 11 55 19@2x

This does not work as a callout card, because its visual affordances (and underlying semantics) invoke the concept of a quote. Content callouts are not quotes.

Some callout card concepts in the wild

CleanShot 2021-06-16 at 19 38 43@2x

CSS tricks draws a 3-sided orange border around its callout cards, and introduces their content with "Hey!".

CleanShot 2021-06-16 at 19 42 00@2x

Shopify's Polaris framework uses a four-sided card, as well as images, to draw reader attention.

@mxmason mxmason added content Issues dealing with our published content. design Issues with the visual appearance of the site. claimed Work is being done on an issue. labels Jun 17, 2021
@mxmason mxmason self-assigned this Jun 17, 2021
@MicheleAWilliams-A11y
Copy link
Contributor

For me, it'll be important to distinguish "Examples" (as in, this is how you perform this) from "TL;DR" (as in, if you won't read this paragraph, at least read this bullet point) from "quotables" for social media (as in, put this on Twitter for clickbait material). Notably, none of these are "block quote" (as in poignant words from an author). Am I taking this too far?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
claimed Work is being done on an issue. content Issues dealing with our published content. design Issues with the visual appearance of the site.
Projects
None yet
Development

No branches or pull requests

2 participants