From 0aaf6ecab4b86098c91b6f491225092f892e8a18 Mon Sep 17 00:00:00 2001 From: sahalsaad Date: Mon, 15 Oct 2018 10:12:36 +0800 Subject: [PATCH] #278 Fix description & options description. --- src/reactA11yNoOnchangeRule.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactA11yNoOnchangeRule.ts b/src/reactA11yNoOnchangeRule.ts index 3f88278f7..5c29dca76 100644 --- a/src/reactA11yNoOnchangeRule.ts +++ b/src/reactA11yNoOnchangeRule.ts @@ -13,9 +13,9 @@ export class Rule extends Lint.Rules.AbstractRule { public static metadata: ExtendedMetadata = { ruleName: 'react-a11y-no-onchange', type: 'functionality', - description: 'For accessibility of select menus, onChange event handler should not be used with the select element.', + description: 'Enforce usage of onBlur over onChange on select menus for accessibility.', options: 'string[]', - optionsDescription: 'Additional tag name to validate.', + optionsDescription: 'Additional tag names to validate.', optionExamples: ['true', '[true, ["Select"]]'], typescriptOnly: false, issueClass: 'Non-SDL',