lighthouse
Version:
Automated auditing, performance metrics, and best practices for the web.
28 lines (22 loc) • 742 B
JavaScript
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import ManualAudit from '../../manual/manual-audit.js';
/**
* @fileoverview Manual A11y audit for focusable controls.
*/
class FocusableControls extends ManualAudit {
/**
* @return {LH.Audit.Meta}
*/
static get meta() {
return Object.assign({
id: 'focusable-controls',
description: 'Custom interactive controls are keyboard focusable and display a focus indicator. [Learn how to make custom controls focusable](https://developer.chrome.com/docs/lighthouse/accessibility/focusable-controls/).',
title: 'Interactive controls are keyboard focusable',
}, super.partialMeta);
}
}
export default FocusableControls;