Support » Plugin: Fluid Video Embeds » A11y: Title attribute on iframe

  • Hi Jamie,

    First off, thank you for your efforts maintaining this plugin. It’s really helpful!

    I’ve a question / request: It’s been brought to my attention, via a client needing to pass an A11y certification, that embed the <iframe> needs a title attribute, set to the title of the video.

    Is this possible to achieve using the plugin’s existing filters?
    If no, would it be possible to add this to a future release?

    All the best,

    Marty Spellerberg

Viewing 1 replies (of 1 total)
  • I’d love to echo support for this request. Especially if the title can be simply added to the iFrame with no filters or other actions needing to be taken by a developer. Because this information is most helpful and only visible to assistive technologies, it can just be automatically applied. This SO article may be of some help, as it seems to be easy to retrieve the title of a given video once the URL for it is known, at least for YouTube.

    PhP code for getting Title of YouTube video:

    And, here’s a gist, an old one though, I came across that does it for both Vimeo and YouTube:

    Thank you so much!

Viewing 1 replies (of 1 total)
  • The topic ‘A11y: Title attribute on iframe’ is closed to new replies.