Sign in

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

  • This topic has 7 replies, 2 voices, and was last updated 4 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #9020
    Avatar photoomer

    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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9080
    Avatar photoomer

    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

    It’s generated by the app, not the theme:  https://github.com/GetPublii/Publii/commit/cf14b7781ffa6412cd8ffdcf3f91df43a72e5ace

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9086
    Avatar photoomer

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

    #9087
    Avatar photoBob

    You need a dev version -> https://github.com/GetPublii/Publii/wiki/App-build-process

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9220
    Avatar photoomer

    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

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.