Use the tab JavaScript plugin-include it individually or through the compiled bootstrap.js file-to extend our navigational tabs and pills to create tabbable panes of local content, even via dropdown menus. ![]() ![]() Active Dropdown Action Another action Something else here Separated link Link Disabled JavaScript behavior Using dropdownsĪdd dropdown menus with a little extra HTML and the dropdowns JavaScript plugin. See JavaScript behavior for dynamic tabbed interfaces in this section for an example. These are only appropriate for dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices. nav-tabs class, should not be given role="tablist", role="tab" or role="tabpanel" attributes. ![]() Note that navigation bars, even if visually styled as tabs with the. Do not add the role to the itself, as this would prevent it from being announced as an actual list by assistive technologies. If you’re using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the, or wrap a element around the whole navigation. ![]() Active Link Link Disabled Active Link Link Disabled Regarding accessibility
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |