GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.21k stars 416 forks source link

[Bug]: Cookies PopUp - ARIA Error #1183

Closed whollaus closed 1 year ago

whollaus commented 1 year ago

Operating system

macOS

Publii version

last

Post editor

None

Bug description

Small "error" or optimization. Google pagespeed check gives an accessibility error when using the cookie popup.

[role] elements do not have all required [aria-*] attributes

This website uses cookies

https://dequeuniversity.com/rules/axe/4.4/aria-required-attr

Steps to reproduce

Example page (but is for all pages with cookie info): https://pagespeed.web.dev/report?url=https%3A%2F%2Fjohannesarnold.com%2F

image

Relevant log output

No response

bobmitro commented 1 year ago

The upcoming Publii version will address and fix this issue. More about it: https://forum.getpublii.com/topic/aria-role-for-cookies-banner-roles-do-not-have-all-required-aria/

whollaus commented 1 year ago

Perfect. Thank you very much!