Elements with ARIA roles should only use ARIA properties that are supported by that role.
Each ARIA role has a specific set of supported properties defined in the WAI-ARIA specification.
Using ARIA properties that are not supported by a role can confuse assistive technologies and lead to unexpected behavior.
For example, the checkbox role supports properties like aria-checked and aria-required, but not aria-selected.
Similarly, the button role supports aria-pressed and aria-expanded, but not aria-checked.