> On Nov 18, 2019, at 03:45, Łukasz Niemier <[email protected]> wrote: > > NO_COLOR (https://no-color.org) initiative is an idea to allow user to > explicitly > opt out from colouring terminal output.
+1, with comments Text coloring reduces the contrast, making the text more difficult for the visually impaired to read. More critically, if coloring is being used to convey distinctions, this information may be unavailable to users of screen readers. To cite one example, let's say I'm using the excoveralls package to find out which lines in a particular file are not covered by tests. I run the command as follows: MIX_ENV=test mix coveralls.detail --filter lib/info_files/cnt_any.ex The output lists the file's code, rendering it as follows: - covered lines in green - uncovered lines in red - irrelevant lines in black However, aside from the colors, there is no way to determine which lines are covered. A given screen reader may or may not represent the color in a discernible (let alone useful) fashion. -r -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/1254A75E-23E5-4E95-B4F4-7C56A70B12F3%40gmail.com.
