Skip to content

Commit

Permalink
microsoft#278 Fix description & options description.
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalsaad committed Oct 15, 2018
1 parent effb095 commit 0aaf6ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactA11yNoOnchangeRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0aaf6ec

Please sign in to comment.