TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Color blind accessibility on Bootstrap

36 点作者 HipstaJules将近 12 年前

11 条评论

ownagefool将近 12 年前
Uh, theres no hard and fast rule for how colour blind people see. I'm colour blind and I can quite clearly see the difference between the top set of buttons.<p>It's really difficult to talk about, because obviously when I use the simulator, the colours look really messed up and don't make sense but that's already equating in my colour blindess, but I imagine it's a lot more subtle for the vast majority of those who are colour blind and therefore it's hardly 560 million people.<p>I honestly don't think the wins would be worth the losing green/amber/red standard that most people instinctively understand and have had their eyes grow used too.
评论 #5795909 未加载
krcz将近 12 年前
I'm colorblind (probably deuteranomalia; red-green problems) and I can't see any problem. In the simulated daltonism version Success and Warning are probably even more different than in original ones (but Warning seems a little greenish).<p>Does anyone with impaired color vision actually have any problem?<p>It's completely different with plots using red and green (especially red-green gradient). Don't do it ever - or at least not when showing results to anyone who you don't know to have proper color vision. Orange and blue are much better.
lifthrasiir将近 12 年前
Color is only one way to improve the usability. I think glyphicons included in bootstrap can complement the color as an indicator of the meaning of buttons, and they should be used whenever appropriate for that very reason.
评论 #5797798 未加载
tomkin将近 12 年前
As someone mildly effected by colourblindness, I am happy to see this consideration. I think it's important to note that making UI colourblind-sensitive, you don't have to do a whole lot of work. Contrast being the most important.
评论 #5795914 未加载
gingerlime将近 12 年前
I think it would make much more sense if the web application / browser / operating system can adjust the colours to fit a colour-blind person, rather than applying the same logic for everyone. In addition, different types of colour-blindness (deuteranopia, protanopia, tritanopia) make it hard to come up with one scheme that fits all.<p>There are a couple of browser plugins and scriptlets for this purpose - e.g. <a href="http://daltonize.appspot.com/" rel="nofollow">http://daltonize.appspot.com/</a><p>At kenHub (working with John Cupitt, the creator of ruby-vips), we've also created an implementation of the daltonize algorithm for ruby/rails that does this server-side. see <a href="https://github.com/kenhub/shikimo" rel="nofollow">https://github.com/kenhub/shikimo</a><p>(we are hoping to use this soon on our anatomy atlas, so colour-blind people can more easily distinguish between highlights and colour-coded structures)
Siecje将近 12 年前
Success is grey Warning is yellow...
评论 #5795906 未加载
advisedwang将近 12 年前
For one example of this look at <a href="http://jenkins-ci.org/" rel="nofollow">http://jenkins-ci.org/</a>. They use blue for successful builds and red for unsuccessful builds.
jwpeddle将近 12 年前
My eyes are pretty messed up. Red and green look the same and I can't definitively tell dark blue from grey from purple. However I have no trouble with the default bootstrap buttons.<p>That said, I find the most helpful thing people can do is add icons or other effects completely different from colors. Because of my difficulty with colors, even ones I can "see" I have to concentrate on. Icons let me skip that.
评论 #5796643 未加载
DigitalJack将近 12 年前
I would much rather this sort of thing be handled by the OS along with other accessibility features.<p>One option would be to have the OS add a pattern to the red component of the RGB space. That would work for sufficiently large patches.<p>Another idea would be to add a time domain function to red that pulsates the brightness.<p>With options for always on or momentary.
评论 #5797134 未加载
tyilo将近 12 年前
Only 8% of the MALE population are colorblind while only around 0.5% of women are colorblind.
评论 #5797378 未加载
ams6110将近 12 年前
I guess nobody actually reads the labels??
评论 #5798703 未加载