Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Aria Role for cookies banner – `[role]`s do not have all required `[aria-*]`

  • #9020
    Avatar photo[anonymous]

    How to fix this issue plz

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

    Some ARIA roles have required attributes that describe the state of the element to screen readers
    This website uses cookies

    These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

    #9026
    Avatar photoBob

    I think there is a lack of the aria-level attribute.
    I will check it out and fix it in the next Publii release.

    #9080
    Avatar photo[anonymous]

    Can I ask which file stores Aria attributes generated by the cookies banner which then gets pulled into all website index pages?

    #9085
    Avatar photoBob
    #9086
    Avatar photo[anonymous]

    thanks but i cannot locate app/default-files/gdpr-assets/template.html

    #9087
    Avatar photoBob
    #9220
    Avatar photo[anonymous]

    What should be the correct role for this then plz? At present, it says heading?

    #9222
    Avatar photoBob

    I have already provided you with the link for the solution: https://github.com/GetPublii/Publii/commit/cf14b7781ffa6412cd8ffdcf3f91df43a72e5ace