generated from nhcarrigan/template
fix: resolve CSP and accessibility issues
- 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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user