Accessibility

Có Thể Nhận Thức

Nguyên tắc đầu tiên của WCAG, yêu cầu tất cả thông tin và thành phần giao diện người dùng phải được trình bày theo cách người dùng có thể nhận thức được.

The Perceivable principle encompasses all sensory aspects of web content. For color specifically, it means ensuring that text has sufficient contrast with its background (Success Criteria 1.4.3 and 1.4.6), that color is not the only visual means of conveying information (1.4.1), and that content can be presented in different ways without losing structure or information (1.3.1). In practice, this means adding text labels to color-coded elements, providing sufficient contrast ratios, and ensuring that focus states and interactive elements are visible without relying solely on color changes.

Dùng thử