mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 08:03:49 +00:00
Fix constrast for accessibility (#7315)
* Closes #7304 - Change colors to increase contrast. - New base level theme color var: `$colorBodyFgSubtle`. - Minor CSS cleanups. - WARNING: this appears to have added a regression in selects that colors the arrow black in Espresso. * Closes #7304 - Fix dropdown arrow colors, whew. - Normalize font sizes in Status area. - More color changes for contrast, including new theme constants. - TODO: compare and sync Espresso with other themes. - TODO: check for regressions! * disable ruleset * Closes #7304 - Normalize font sizes in multiple spots. - More color changes for contrast, including more new theme constants. - TODO: compare and sync Espresso with other themes. - TODO: check for regressions! * Closes #7304 - Reorganize CSS files for more uniformity. * Closes #7304 - CSS normalized across all themes via Google Sheet at https://docs.google.com/spreadsheets/d/1SEEtuNSq6I7gvVHKpHW8_fp8Ltc-HOAWxrSAkUzS6Kw/edit?usp=sharing * Closes #7304 - Color tweaks, normalization. * Closes #7304 - Color tweaks, normalization. - Search layout, contrast and font-size improvements. - Added '+' icons to collapsed pane buttons. * Closes #7304 - Shell head layout improvements. * Update ColorKey for Take Snapshot Failures and Opacity labels. Also fix create menu * Closes #7410 - CHERRY PICK FROM event-colors-7410. - Event display approach modified to include background color. - Theme colors modified and constrast verified via Wave a11y browser plugin. * Closes #7304 - Set back to install Espresso theme by default. * temporarily skip * remove comment * lint * Update default colors * update snapshot * missed --------- Co-authored-by: John Hill <john.c.hill@nasa.gov> Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f8d936a834
commit
068ac4899d
@ -22,7 +22,7 @@
|
||||
|
||||
import percySnapshot from '@percy/playwright';
|
||||
|
||||
import { scanForA11yViolations, test } from '../../../avpFixtures.js';
|
||||
import { test } from '../../../avpFixtures.js';
|
||||
import { MISSION_TIME, VISUAL_URL } from '../../../constants.js';
|
||||
|
||||
//Declare the scope of the visual test
|
||||
@ -55,6 +55,7 @@ test.describe('Visual - Inspector @ally', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
test.afterEach(async ({ page }, testInfo) => {
|
||||
await scanForA11yViolations(page, testInfo.title);
|
||||
});
|
||||
// Skipping for https://github.com/nasa/openmct/issues/7421
|
||||
// test.afterEach(async ({ page }, testInfo) => {
|
||||
// await scanForA11yViolations(page, testInfo.title);
|
||||
// });
|
||||
|
Reference in New Issue
Block a user