Page 40 - HTML5
P. 40

type="number"
           value="25">


        role="status"


        A container whose content is advisory information for the user but is not important enough to
        justify an alert, often but not necessarily presented as a status bar.


         <div role="status">Online</div>



        role="switch"


        A type of checkbox that represents on/off values, as opposed to checked/unchecked values.


         <select role="switch" aria-checked="false">
           <option>On</option>
           <option selected>Off</option>
         </select>



        role="tab"


        A grouping label providing a mechanism for selecting the tab content that is to be rendered to the
        user.


         <ul role="tablist">
           <li role="tab">Introduction</li>
           <li role="tab">Chapter 1</li>
           <li role="tab">Chapter 2</li>
         </ul>


        role="table"


        A section containing data arranged in rows and columns. The table role is intended for tabular
        containers which are not interactive.


         <table role="table">
           <thead>
             <!-- etc -->
           </thead>
           <tbody>
             <!-- etc -->
           </tbody>
         </table>



        role="tablist"


        A list of tab elements, which are references to tabpanel elements.


         <ul role="tablist">



        https://riptutorial.com/                                                                               24
   35   36   37   38   39   40   41   42   43   44   45