I work on many sites that need to be compliant with the WCAG standards for web accessibility. One of the violations that keeps coming up is that iframe must have an identifiable name. This can be met by including either a title attribute for the iframe or a aria-label attribute for the iframe. I have found solutions for using WordPress filters to add the required attributes; however, the Layouts YouTube Cell does not use the standard WordPress embed functions but rather codes the iframe directly. It would be great if you could either use that standard wp_get_embed function to do the YouTube embed, or provide a simple text cell whose value could populate both the title and aria-label attributes of the iframe that the YouTube cell currently creates. Thanks for your consideration,
Joe
Dear Denise,
I assume we are talking about the wordpress function wp_oembed_get():
https://codex.wordpress.org/Function_Reference/wp_oembed_get
Which is different from you mentioned above: "wp_get_embed "
can you confirm it? I need to put it into our feature request, our developers will evaluate it.
Yes, I was referring to wp_oembed_get. Thanks,
Joe
As your request, I forward it to our support Nigel, he manages the feature request of Layouts plugin, our developers will evaluate it, You can subscribe to our blog to get the updated news:
https://toolset.com/blog/