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
790 B
Text
27 lines
790 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 assert custom controls have associated labels.
|
|
*/
|
|
|
|
class CustomControlsLabels extends ManualAudit {
|
|
/**
|
|
* @return {LH.Audit.Meta}
|
|
*/
|
|
static get meta() {
|
|
return Object.assign({
|
|
id: 'custom-controls-labels',
|
|
description: 'Custom interactive controls have associated labels, provided by aria-label or aria-labelledby. [Learn more about custom controls and labels](https://developer.chrome.com/docs/lighthouse/accessibility/custom-controls-labels/).',
|
|
title: 'Custom controls have associated labels',
|
|
}, super.partialMeta);
|
|
}
|
|
}
|
|
|
|
export default CustomControlsLabels;
|