From 066ccffac37459e5b3dcb607f06ad3e88bc39c08 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Tue, 1 Dec 2020 15:48:35 +0100 Subject: [PATCH] [Docs] `no-noninteractive-tabindex`: Add example for tabIndex on seemingly non-interactive element Closes #717 --- docs/rules/no-noninteractive-tabindex.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/rules/no-noninteractive-tabindex.md b/docs/rules/no-noninteractive-tabindex.md index 740c343ce..0edc6fe5b 100644 --- a/docs/rules/no-noninteractive-tabindex.md +++ b/docs/rules/no-noninteractive-tabindex.md @@ -46,6 +46,15 @@ It is not necessary to put a tabindex on an `
`, for instance or on `
  • + {someLongCode} + +``` + ## Rule details The recommended options for this rule allow `tabIndex` on elements with the noninteractive `tabpanel` role. Adding `tabIndex` to a tabpanel is a recommended practice in some instances.