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

Updating an example for buttons. #813

Merged
merged 3 commits into from
Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added understanding/21/img/button-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions understanding/21/non-text-contrast.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ <h4>Active User Interface Component Examples</h4>
<td><img src="img/link-text-focus.png" alt="A browser-default styled link, with a black dotted outline around the link." /></td>
</tr>
<tr>
<th>Styled links or buttons</th>
<td>Where links or buttons have an author-supplied style for the focus indicator, the focus indicator must meet the 3:1 contrast ratio.</td>
<td><img src="img/link-text-styled-default.png" alt="A styled link, dark blue, with underline." /><br />
<img src="img/link-text-styled-focus.png" alt="The same styled link with a dark solid outline." /></td>
<th>Buttons</th>
<td>A button which has a distinguishing indicator such as position, text style, or context does not need a <em>contrasting</em> visual indicator to show that it is a button, although some users are likely to identify a button with an outline that meets contrast requirements more easily.</td>
<td><img src="img/button-background.png" alt="Button with a faint blue background." width="100" /></td>
</tr>
<tr>
<th>Text input (minimal)</th>
Expand Down