본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2921

link-in-text-block

하는 일

이 스킬은 본문 텍스트 안에 있는 링크를 확인하고, 보통 밑줄이나 충분한 색 대비로 분명히 보이는지 확인합니다. 접근성에 관심 있는 디자이너와 프런트엔드 제작자를 위한 스킬입니다.

사용하는 경우

  • ✓글이나 문단 안의 링크 스타일을 검토하고 싶을 때.
  • ✓디자인이 링크의 밑줄을 없애서, 여전히 잘 보이는지 확인해야 할 때.
  • ✓접근성 검토를 준비하며 링크가 색으로만 구별되지 않는지 확인해야 할 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/link-in-text-block/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/link-in-text-block/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 블로그 글에서 링크가 나머지 글과 쉽게 구별되는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 본문 블록 안의 링크 스타일을 보고, 밑줄이나 충분한 색 대비가 있는지 확인합니다. 놓칠 수 있는 링크는 보고하고 수정 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Make links in text blocks visually distinguishable

Approximately 8% of men and 0.5% of women have color vision deficiency (red-green being most common). If links are distinguished only by a color like blue or red, these users may not identify them as links and miss critical navigation or reference information. The underline is a universal, color-independent signal understood across cultures and vision abilities. Removing underlines is a common design trend that disproportionately affects users with low vision and cognitive disabilities.

Quick Reference

  • Color must not be the only visual means of distinguishing links from surrounding text — WCAG 2.1 SC 1.4.1 (Use of Color)
  • Option 1: Underline links (the browser default and most robust approach)
  • Option 2: If no underline, the link color must have ≥ 3:1 contrast ratio against surrounding body text AND ≥ 4.5:1 against the background
  • Focus and hover states must also maintain distinguishability
  • Applies only to links embedded within paragraphs/text blocks; standalone navigation links have different requirements

Check

Find all <a> elements within text-heavy containers (paragraphs, article body, list items containing prose). Check the CSS applied: if text-decoration: none or text-decoration: underline is removed, verify that the link color has at least 3:1 contrast ratio against the surrounding non-link text color AND at least 4.5:1 against the background. Also check :hover and :focus states for a non-color visual change (underline appearing, outline, background change).

Fix

The simplest fix is to restore text-decoration: underline on inline text links within body copy — this is the most widely understood and color-independent link indicator. If the design requires no underline: calculate the contrast between link color and body text color using the WCAG relative luminance formula; it must be ≥ 3:1. Add a non-color visual change on :hover and :focus (e.g., underline appears, font-weight changes, or background-color is added).

Explain

WCAG 2.1 SC 1.4.1 (Use of Color, Level A) states that color must not be the sole visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. For links within text, this means a user who cannot perceive the link color must still be able to identify the link. The WCAG technique G183 specifies that a 3:1 contrast ratio between link and surrounding text, combined with a non-color hover/focus cue, is a sufficient technique. The browser default underline satisfies SC 1.4.1 on its own.

Code Review

Review the rendered markup and interactive states that affect Make links in text blocks visually distinguishable. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/link-in-text-block

자주 묻는 질문

링크에 밑줄이 왜 필요한가요?

일부 사람은 색을 구별하기 어려워서, 밑줄이 텍스트가 링크라는 분명한 신호를 준다고 스킬은 설명합니다.

메뉴 링크에도 적용되나요?

아니요. 스킬은 문단 안의 링크를 대상으로 하며, 내비게이션 메뉴나 버튼 모양의 링크는 다루지 않습니다.

밑줄을 없애도 되나요?

링크 색이 주변 텍스트와 배경에 비해 충분한 대비를 가질 때만 허용된다고 스킬은 설명합니다.

상세 정보

작성자의 원본 설명

Use when applies to hyperlinks (`<a>` elements) that appear inline within paragraphs or text blocks. Does not apply to navigation menus, button-style links, or standalone links that are visually isolated from body text. Use when reviewing CSS that removes text-decoration from inline body copy links.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2921
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬