• msalvatore

    (@msalvatore)


    Apparently, block props include a pre-defined value for the aria role (role=”document”). Is there a way to overwrite this value with a more appropriate role for my block? I thought setting the attribute in the object that’s passed to useBlockProps( { role: "presentation" } ) would work as suggested here: https://github.com/WordPress/gutenberg/issues/42158

    I believe this issue is still being worked, but I’m curious if others have found another way.

  • You must be logged in to reply to this topic.