![]() ![]() The footer buttons similarly use aria.clear and aria.apply properties. Buttons to add rules on the other hand utilize aria.addRule and aria.removeRule properties. The operator dropdown use aria.filterOperator and filter constraints dropdown use aria.filterConstraint properties. Popop menu has dialog role with aria-modalas focus is kept within the overlay. The filter menu button use aria.showFilterMenu and aria.hideFilterMenu properties as aria-label in addition to the aria-haspopup, aria-expanded and aria-controls to define the relation between the button and the overlay. Value to describe the buttons is derived from aria.expandRow and llapseRow properties of the locale API. The element to expand or collapse a row is a button with aria-expanded and aria-controls properties. When a row is selected, aria-selected is set to true on a row. Similarly header checkbox uses selectAll and unselectAll keys. The label to describe them is retrieved from the lectRow and aria.unselectRow properties of the locale API. Sortable headers utilizer aria-sort attribute either set to "ascending" or "descending".īuilt-in checkbox and radiobutton components for row selection use checkbox and radiobutton roles respectively with aria-checked state attribute. Header, body and footer elements use rowgroup, rows use row role, header cells have columnheader and body cells use cell roles. This property allows passing aria roles and attributes like aria-label and aria-describedby to define the table for readers. Selection=>ĭataTable uses a table element whose attributes can be extended with the tableProps option. OnIcon="pi pi-lock" offIcon="pi pi-lock-open" onLabel="Balance" offLabel="Balance" /> ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |