亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Table of Contents
Count, Group, and Name
Anchor
Title
Badge
Date/Time
Categories/Tags
Action
Conclusion
Katie's Feedback
Home Web Front-end CSS Tutorial Telling the Story of Graphic Design

Telling the Story of Graphic Design

Apr 18, 2025 am 09:19 AM

Telling the Story of Graphic Design

Let's craft a compelling narrative from a Sketch UI component. We'll dissect its elements—colors, typography, dimensions—and translate them into a story for diverse audiences: visual, auditory, tactile. The goal? An engaging, easily understood, and memorable experience. Clarity and coherence are paramount.

My colleague, Katie, has selected a UI component. I'll annotate it (our primary tools are SCSS, Twig, and Craft, but the templating language isn't critical), and she'll provide feedback. Ideally, I'll get most details right, with a few errors to illustrate how information can be lost during handoff.

In white-label or framework front-end development, the priority is flexibility and adaptability. Content and style are kept largely agnostic (within product boundaries) because the code's ultimate destination and purpose are unknown. However, my recent transition to a web design agency has flipped this focus. Here, the emphasis is on bespoke, highly tailored designs deeply integrated with the client's specific needs and their target audience.

Collaborating closely with a graphic designer like Katie, working with meticulously crafted, pixel-perfect UI, rather than wireframes or initial narratives, is a learning curve. Yet, I bring valuable skills to the table: document design.

Document design—essentially the semantic web with accessibility at its core—involves treating graphic design as a communication system. We translate the underlying purpose of colors, typography, and layout into an accessible, linear, and navigable DOM. It's HTML, plain and simple. Yet, surprisingly, this fundamental principle often gets overlooked.

Katie provided a Sketch file brimming with artboards and clear design specifications. My analysis reveals six or seven components utilizing a similar card paradigm:

  • A card presents metadata about a site page.
  • It contains an image/media and metadata (a media object).
  • It's displayed within a group of similar objects.
  • This group is consistently typed (no mixing of search results, news articles, and classes).
  • Each object has a single page link and no other actions.
  • Each object includes a call to action (e.g., "Book").
  • Optional elements: times, categories, badges.
  • Required elements: media, title, link.

The card is the primary navigation element. Users traverse guided pathways, selecting from card sets based on top-level pages ("What's On," "Classes"). It's not interactive, but rather a guide, an index card leading users to their destination—in this case, purchasing a show ticket.

Consider this analogy: Describing a show flyer over the phone. You wouldn't recite the text verbatim, starting with irrelevant details. Nor would you just describe colors and fonts. You'd convey the essential information: "It's The Greatest Showman, Tuesday at 7:30 PM, Odeon on Oxford Street, near the tram." This is the essence of document design.

Count, Group, and Name

Let's structure each card within a list item. We need a countable group, which we'll introduce with a heading (<h3></h3>). This allows screen reader users to:

  1. Identify the list in the headings overview.
  2. See the item count upfront.
  3. Navigate to the next list item/card.
  4. Skip the group and proceed to the next page (pagination is the following labeled landmark).

=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

Anchor

Each card will be wrapped in an anchor element (<a></a>). This prioritizes the link, allowing users to click immediately upon identifying the relevant card. While a large clickable area is beneficial, it shouldn't become a usability trap. The card's generous gutter provides sufficient spacing to minimize accidental clicks.

Title

The show title will be a heading (<h3></h3>), reflecting its visual prominence. Users who quickly scan headings will easily locate this key information. The image will precede the heading; since image descriptions aren't available via the API, the alt attribute will be left empty.

Now for the metadata:

  • Badge
  • Date/Time
  • Categories

Badge

The badge highlights venue-specific information. While its user benefit isn't immediately apparent, its visual emphasis warrants inclusion. To avoid it being missed during non-visual browsing, I'll place it directly after the title, either first or last for consistent accessibility. Instead of <abbr></abbr>, I'll use plain text since the brand color serves as a clear indicator of venue ownership.

<p>HAC Highlight </p>

The badging is organization-specific, clearly distinguishing in-house events from those hosted by external organizations.

Date/Time

Dates are crucial and will be placed in a <h4></h4> element, facilitating quick scanning for specific dates or times. The <time></time> element ensures proper date/time interpretation by assistive technologies.

Categories/Tags

Categories follow the badge and date, reflecting their visual de-prioritization. We avoid repetition by placing specific information before more general information. A simple tag precedes the category list for clarity. Hard-coded spacing prevents garbling even with text compression.

<p>Categories: {% for category in categories.all() %}{{category}}{% if not loop.last %} / {% endif %}{% endfor %}</p>

Color-coding of primary categories is handled in CSS, as it's a non-verbal cue not requiring verbal description. The primary category is placed first, but not explicitly labeled, as the pre-existing category filter provides a more efficient selection method.

Action

The call to action ("Book," "Learn More") is styled as a span, placed last to signal the card's end. This ensures that no data follows the action.

Conclusion

This markup prioritizes counting, grouping, and naming data, enabling both linear and non-linear interaction. The page is understandable when read sequentially or in parts, facilitating efficient navigation.

Katie's Feedback

Katie Parry, designer: Excellent article! The <time></time> element handling is particularly clever. However, assistive technology users receive information in a pre-determined order. Without filtering, finding specific events (e.g., dance events) requires navigating through title, badge, dates, and categories, which can be cumbersome. This isn't a coding error, but a limitation of the current web paradigm. Something to consider for future improvements.

My design process often begins with event cards, even before establishing site-wide typography. Visually, these cards should:

  • Resemble a list for intuitive use.
  • Provide sufficient information for user interest assessment (image, title, date, link).
  • Include a clear call to action (link).
  • Be easily scannable.

Visual scannability is achieved by consistent placement of information types and a clear visual hierarchy. Typography and spacing are key. Titles are highly prominent; dates are consistently styled but distinct from titles; categories have a different style. The spacing in the code sample needs adjustment for optimal scannability.

Users scan for different information. Some browse generally; others search for specific events or categories. Cards need to accommodate this diverse behavior. While conventions exist, card design varies across projects.

A balance must be struck between familiar interfaces and client-specific originality. Custom typefaces and color palettes contribute, but user discovery is crucial. I research clients and their audiences (review sites, social media) to uncover insights influencing design. Increased developer involvement in this discovery phase would be beneficial. Currently, I use extensive Sketch notes and sometimes spreadsheets to define functionality. A data populator would be ideal!

The above is the detailed content of Telling the Story of Graphic Design. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

PHP Tutorial
1488
72
CSS tutorial for creating loading spinners and animations CSS tutorial for creating loading spinners and animations Jul 07, 2025 am 12:07 AM

There are three ways to create a CSS loading rotator: 1. Use the basic rotator of borders to achieve simple animation through HTML and CSS; 2. Use a custom rotator of multiple points to achieve the jump effect through different delay times; 3. Add a rotator in the button and switch classes through JavaScript to display the loading status. Each approach emphasizes the importance of design details such as color, size, accessibility and performance optimization to enhance the user experience.

Addressing CSS Browser Compatibility issues and prefixes Addressing CSS Browser Compatibility issues and prefixes Jul 07, 2025 am 01:44 AM

To deal with CSS browser compatibility and prefix issues, you need to understand the differences in browser support and use vendor prefixes reasonably. 1. Understand common problems such as Flexbox and Grid support, position:sticky invalid, and animation performance is different; 2. Check CanIuse confirmation feature support status; 3. Correctly use -webkit-, -moz-, -ms-, -o- and other manufacturer prefixes; 4. It is recommended to use Autoprefixer to automatically add prefixes; 5. Install PostCSS and configure browserslist to specify the target browser; 6. Automatically handle compatibility during construction; 7. Modernizr detection features can be used for old projects; 8. No need to pursue consistency of all browsers,

What is the difference between display: inline, display: block, and display: inline-block? What is the difference between display: inline, display: block, and display: inline-block? Jul 11, 2025 am 03:25 AM

Themaindifferencesbetweendisplay:inline,block,andinline-blockinHTML/CSSarelayoutbehavior,spaceusage,andstylingcontrol.1.Inlineelementsflowwithtext,don’tstartonnewlines,ignorewidth/height,andonlyapplyhorizontalpadding/margins—idealforinlinetextstyling

Styling visited links differently with CSS Styling visited links differently with CSS Jul 11, 2025 am 03:26 AM

Setting the style of links you have visited can improve the user experience, especially in content-intensive websites to help users navigate better. 1. Use CSS's: visited pseudo-class to define the style of the visited link, such as color changes; 2. Note that the browser only allows modification of some attributes due to privacy restrictions; 3. The color selection should be coordinated with the overall style to avoid abruptness; 4. The mobile terminal may not display this effect, and it is recommended to combine it with other visual prompts such as icon auxiliary logos.

Creating custom shapes with css clip-path Creating custom shapes with css clip-path Jul 09, 2025 am 01:29 AM

Use the clip-path attribute of CSS to crop elements into custom shapes, such as triangles, circular notches, polygons, etc., without relying on pictures or SVGs. Its advantages include: 1. Supports a variety of basic shapes such as circle, ellipse, polygon, etc.; 2. Responsive adjustment and adaptable to mobile terminals; 3. Easy to animation, and can be combined with hover or JavaScript to achieve dynamic effects; 4. It does not affect the layout flow, and only crops the display area. Common usages are such as circular clip-path:circle (50pxatcenter) and triangle clip-path:polygon (50%0%, 100 0%, 0 0%). Notice

What is the CSS Painting API? What is the CSS Painting API? Jul 04, 2025 am 02:16 AM

TheCSSPaintingAPIenablesdynamicimagegenerationinCSSusingJavaScript.1.DeveloperscreateaPaintWorkletclasswithapaint()method.2.TheyregisteritviaregisterPaint().3.ThecustompaintfunctionisthenusedinCSSpropertieslikebackground-image.Thisallowsfordynamicvis

How to create responsive images using CSS? How to create responsive images using CSS? Jul 15, 2025 am 01:10 AM

To create responsive images using CSS, it can be mainly achieved through the following methods: 1. Use max-width:100% and height:auto to allow the image to adapt to the container width while maintaining the proportion; 2. Use HTML's srcset and sizes attributes to intelligently load the image sources adapted to different screens; 3. Use object-fit and object-position to control image cropping and focus display. Together, these methods ensure that the images are presented clearly and beautifully on different devices.

What are common CSS browser inconsistencies? What are common CSS browser inconsistencies? Jul 26, 2025 am 07:04 AM

Different browsers have differences in CSS parsing, resulting in inconsistent display effects, mainly including the default style difference, box model calculation method, Flexbox and Grid layout support level, and inconsistent behavior of certain CSS attributes. 1. The default style processing is inconsistent. The solution is to use CSSReset or Normalize.css to unify the initial style; 2. The box model calculation method of the old version of IE is different. It is recommended to use box-sizing:border-box in a unified manner; 3. Flexbox and Grid perform differently in edge cases or in old versions. More tests and use Autoprefixer; 4. Some CSS attribute behaviors are inconsistent. CanIuse must be consulted and downgraded.

See all articles