How to use the @hint/utils-types.Category.accessibility function in @hint/utils-types

To help you get started, we’ve selected a few @hint/utils-types examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webhintio / hint / packages / hint-axe / src / meta / language.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('language_description', 'en'),
        name: getMessage('language_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('language_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('language_name', language);
    },
    id: 'axe/language',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / sensory-and-visual-cues.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('sensoryAndVisualCues_description', 'en'),
        name: getMessage('sensoryAndVisualCues_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('sensoryAndVisualCues_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('sensoryAndVisualCues_name', language);
    },
    id: 'axe/sensory-and-visual-cues',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / text-alternatives.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('textAlternatives_description', 'en'),
        name: getMessage('textAlternatives_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('textAlternatives_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('textAlternatives_name', language);
    },
    id: 'axe/text-alternatives',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / structure.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('structure_description', 'en'),
        name: getMessage('structure_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('structure_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('structure_name', language);
    },
    id: 'axe/structure',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / semantics.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('semantics_description', 'en'),
        name: getMessage('semantics_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('semantics_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('semantics_name', language);
    },
    id: 'axe/semantics',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / aria.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('aria_description', 'en'),
        name: getMessage('aria_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('aria_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('aria_name', language);
    },
    id: 'axe/aria',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / parsing.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('parsing_description', 'en'),
        name: getMessage('parsing_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('parsing_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('parsing_name', language);
    },
    id: 'axe/parsing',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / tables.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('tables_description', 'en'),
        name: getMessage('tables_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('tables_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('tables_name', language);
    },
    id: 'axe/tables',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / name-role-value.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('nameRoleValue_description', 'en'),
        name: getMessage('nameRoleValue_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('nameRoleValue_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('nameRoleValue_name', language);
    },
    id: 'axe/name-role-value',
    schema: [
        {
            additionalProperties: false,
            properties: {
github webhintio / hint / packages / hint-axe / src / meta / time-and-media.ts View on Github external
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';

import { getMessage } from '../i18n.import';

const meta: HintMetadata = {
    docs: {
        category: Category.accessibility,
        description: getMessage('timeAndMedia_description', 'en'),
        name: getMessage('timeAndMedia_name', 'en')
    },
    /* istanbul ignore next */
    getDescription(language: string) {
        return getMessage('timeAndMedia_description', language);
    },
    /* istanbul ignore next */
    getName(language: string) {
        return getMessage('timeAndMedia_name', language);
    },
    id: 'axe/time-and-media',
    schema: [
        {
            additionalProperties: false,
            properties: {