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