anthonyalfimov / Stable-Delay

AU, VST3. A WIP delay/chorus/flanger plugin
GNU General Public License v3.0
5 stars 1 forks source link

Accessibility: Review UI design #69

Open anthonyalfimov opened 2 years ago

anthonyalfimov commented 2 years ago

To begin, we should ensure that the plugin UI design complies with the following Web Content Accessibility Guidelines:

Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.


The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:


Images of text are only used for pure decoration or where a particular presentation of text is essential to the information being conveyed (e.g. logos).


The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):


Reference:

Contrast ratio

(L1 + 0.05) / (L2 + 0.05), where


Relative luminance

-- the relative brightness of any point in a colorspace, normalized to 0 for darkest black and 1 for lightest white.

For the sRGB colorspace, the relative luminance of a color is defined as L = 0.2126 * R + 0.7152 * G + 0.0722 * B where R, G and B are defined as:

and RsRGB, GsRGB, and BsRGB are defined as: