• Hello,

    I am doing some accessibility stuff for a project and they’ve picked up an issue which I can’t seem to resolve.

    When an input has an error it spits out the following:

    <span class="wpcf7-not-valid-tip" aria-hidden="true">You must enter a valid email address to proceed.</span>

    The aria-hidden should now technically be false, is there a way I can update this? I have tapped into the wpcf7invalid event listener and changed it but wondered if there was a reason I had to do this.

    Cheers

    David

Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    The real body of the error message exists in <div class="screen-reader-response"></div>, and what you are seeing is its alias. To avoid reading the same message multiple times, the plugin gives aria-hidden="true" to aliases.

Viewing 1 replies (of 1 total)
  • The topic ‘Error Aria Labels’ is closed to new replies.