Re:Powerful new features for businesses on GitHub.com
by tomschlick on Wednesday March 01, 2017 @03:39PM
(#13768055)
Fair enough.
Side note: I'm surprised there isn't a specific header browsers could send for something like colorblindness. That would allow sites to react to that header and serve up a different stylesheet.
Re:Powerful new features for businesses on GitHub.com
by mstade on Wednesday March 01, 2017 @06:51PM
(#13769919)
Isn't that what the accept header is for? Telling the server what content types you're willing to accept, including relevant parameters. Something like:
Accept: text/css; color-blind=trichromatic
Of course no server would recognize this today, since afaik the CSS media type doesn't define any parameters other than perhaps `charset`, but the mechanism is there at least. Also any self respecting web server would just ignore the parameter so it shouldn't break anything, just cost a few more bytes of bandwidth I guess. No need to invent a new header I don't think.
And if colorblind people aren't inconvenienced (and don't have to navigate to a menu to de-inconvenience themself) then that's enough of a reason for me.