From 8ff3dbef7c0fbaf226c0e7ea7a4b5d0cff0efed8 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Mon, 19 Feb 2024 12:02:33 +0000 Subject: [PATCH] clarify N in Readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df98b8d..3c7754b 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,16 @@ import '@github/tab-container-element' ``` -If none of the tabs have `aria-selected=true`, then the first tab will be selected automatically. You can also add the `default-tab=N` attribute to avoid having to set `aria-selected=true` on the desired tab. +If none of the tabs have `aria-selected=true`, then the first tab will be selected automatically. You can also add the `default-tab=N` attribute to avoid having to set `aria-selected=true` on the desired tab, where `N` is the 0-based tab index: + +```html + + + + + + + ### Events