* @param {Element} element - * @returns {boolean | undefined} - false/true if (not)pressed, undefined if not press-able
(element)
| 278 | * @returns {boolean | undefined} - false/true if (not)pressed, undefined if not press-able |
| 279 | */ |
| 280 | function computeAriaPressed(element) { |
| 281 | // https://www.w3.org/TR/wai-aria-1.1/#aria-pressed |
| 282 | return checkBooleanAttribute(element, 'aria-pressed') |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * @param {Element} element - |
no test coverage detected