Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
744 B
Text
27 lines
744 B
Text
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import ManualAudit from '../../manual/manual-audit.js';
|
|
|
|
/**
|
|
* @fileoverview Manual A11y audit to avoid trapping keyboard focus in a region.
|
|
*/
|
|
|
|
class FocusTraps extends ManualAudit {
|
|
/**
|
|
* @return {LH.Audit.Meta}
|
|
*/
|
|
static get meta() {
|
|
return Object.assign({
|
|
id: 'focus-traps',
|
|
description: 'A user can tab into and out of any control or region without accidentally trapping their focus. [Learn how to avoid focus traps](https://developer.chrome.com/docs/lighthouse/accessibility/focus-traps/).',
|
|
title: 'User focus is not accidentally trapped in a region',
|
|
}, super.partialMeta);
|
|
}
|
|
}
|
|
|
|
export default FocusTraps;
|