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

tweak colors for a11y #31054

Merged
merged 3 commits into from
Jan 23, 2016
Merged

tweak colors for a11y #31054

merged 3 commits into from
Jan 23, 2016

Conversation

steveklabnik
Copy link
Member

I've been interested in the accessibility of Rustdoc's output, but never did anything about it. Today, I ran a tool, and it suggested adjusting some colors.

Here's some screen shots. Before:
2016-01-20-114944_443x199_scrot

After:

2016-01-20-114516_453x204_scrot

As you can see, the link text is just a shade darker.

Browsable: http://www.steveklabnik.com/rust-a11y-doc-testing/doc/std/

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik
Copy link
Member Author

Struct color change. before:

2016-01-20-122607_85x117_scrot

after:

2016-01-20-122831_85x124_scrot

@steveklabnik
Copy link
Member Author

Traits. before:

2016-01-20-123424_168x149_scrot

after:

2016-01-20-123509_168x151_scrot

@steveklabnik
Copy link
Member Author

I think this is all I'd like to do for now. I'd like to land this, and then work on other stuff afterwards.

@alexcrichton
Copy link
Member

@bors: r+ c449f04 rollup

@nikomatsakis
Copy link
Contributor

I literally cannot see the difference :)

@steveklabnik
Copy link
Member Author

Yeah, the first example is noticeable for me, but the other two are very very small.

@retep998
Copy link
Member

I support this change. The difference may be slight but it really helps readability in the long run.

@nikomatsakis
Copy link
Contributor

To be clear, I wasn't opposing the change. :)

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jan 23, 2016
I've been interested in the accessibility of Rustdoc's output, but never did anything about it. Today, I ran a tool, and it suggested adjusting some colors.

Here's some screen shots. Before:
![2016-01-20-114944_443x199_scrot](https://cloud.githubusercontent.com/assets/27786/12455979/d84d7ae8-bf6b-11e5-9aea-0602fb1a8cfa.png)

After:

![2016-01-20-114516_453x204_scrot](https://cloud.githubusercontent.com/assets/27786/12455841/36a55d14-bf6b-11e5-8014-239594c12e46.png)

As you can see, the link text is just a _shade_ darker.

Browsable: http://www.steveklabnik.com/rust-a11y-doc-testing/doc/std/
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jan 23, 2016
I've been interested in the accessibility of Rustdoc's output, but never did anything about it. Today, I ran a tool, and it suggested adjusting some colors.

Here's some screen shots. Before:
![2016-01-20-114944_443x199_scrot](https://cloud.githubusercontent.com/assets/27786/12455979/d84d7ae8-bf6b-11e5-9aea-0602fb1a8cfa.png)

After:

![2016-01-20-114516_453x204_scrot](https://cloud.githubusercontent.com/assets/27786/12455841/36a55d14-bf6b-11e5-8014-239594c12e46.png)

As you can see, the link text is just a _shade_ darker.

Browsable: http://www.steveklabnik.com/rust-a11y-doc-testing/doc/std/
bors added a commit that referenced this pull request Jan 23, 2016
@bors bors merged commit c449f04 into rust-lang:master Jan 23, 2016
@steveklabnik steveklabnik deleted the a11y branch June 19, 2016 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants