fix: resolve CSP and accessibility issues
Node.js CI / CI (pull_request) Successful in 1m20s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m24s

- Allow inline styles in CSP for Angular component encapsulation
- Hide skip-to-main-content link using screen-reader-only pattern
- Add JavaScript handler for skip link to work across all routes
- Add eslint-disable comments for intentional design choices
This commit is contained in:
2026-02-20 02:06:30 -08:00
committed by Naomi Carrigan
parent 888a3fbd97
commit d17721aa91
12 changed files with 463 additions and 376 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @copyright 2026 NHCarrigan
* @copyright 2026 NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
import { getGreeting } from "../support/app.po";
+3 -2
View File
@@ -1,11 +1,12 @@
/**
* @copyright 2026 NHCarrigan
* @copyright 2026 NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/**
*
* Gets the greeting element from the page.
* @returns A Cypress chainable to the h1 element.
*/
export const getGreeting = (): Cypress.Chainable => {
return cy.get("h1");
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @copyright 2026 NHCarrigan
* @copyright 2026 NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/// <reference types="cypress" />
+1
View File
@@ -3,6 +3,7 @@
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/* eslint-disable unicorn/prevent-abbreviations -- e2e is a standard Cypress filename */
/**
* This example support/e2e.ts is processed and