Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A a11yproject.com
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The A11Y Project
  • a11yproject.com
  • Issues
  • #1295
Closed
Open
Issue created Jun 17, 2021 by EJ Mason@mxmasonContributor

We should provide a callout card component for emphasizing content

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.

Assignee
Assign to
Time tracking