US 12,093,514 B1
Systems and methods of determining contrast for accessibility
Sri Baskaran, New York, NY (US); Venkata Sudheer Babu Chundi, Plano, TX (US); Chakrapani Chittabathina, Plano, TX (US); Rasanjaya Herath Mudiyanselage, Irving, TX (US); Mizan Miah, Wilmington, DE (US); Muralidhar Somipalli, Tampa, FL (US); and Manikanth Sakuru, Irving, TX (US)
Assigned to JPMORGAN CHASE BANK, N.A., New York, NY (US)
Filed by JPMORGAN CHASE BANK, N.A., New York, NY (US)
Filed on Dec. 1, 2021, as Appl. No. 17/457,231.
Int. Cl. G06F 3/04842 (2022.01); G06F 3/04812 (2022.01); G06F 3/04845 (2022.01)
CPC G06F 3/04842 (2013.01) [G06F 3/04812 (2013.01); G06F 3/04845 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of determining a contrast of colors displayed by a digital user interface, comprising:
providing an application that executes on an electronic device, wherein the application includes a compliance module, and wherein the compliance module includes an active mode and an inactive mode, and wherein the active mode generates a popup graphical element in response to a predetermined user input with respect to a selected graphical element of the application;
activating the compliance module into the active mode in response to a user input;
receiving the predetermined user input on the selected graphical element of the application;
determining, by the compliance module, based on the active mode and receipt of the predetermined user input:
first color data associated with a background of the selected graphical element of the application;
second color data associated with a text string within the selected graphical element;
a luminosity associated with the first color data and a luminosity associated with the second color data; and
that the luminosity associated with the first color data is greater than the luminosity associated with the second color data;
calculating, by the compliance module, a contrast ratio of a color represented by the first color data to a color represented by the second color data based on a quotient of the luminosity associated with the first color data divided by the luminosity associated with the second color data; and
displaying, at the digital user interface of the electronic device and via the popup graphical element, the calculated contrast ratio.