According to Section 508 1194.22i, Frames shall be titled with text that facilitates frame identification and navigation.

So in order to pass the accessibility test, we would want to add a TITLE attribute to the iframe. This is not really a bug of the module especially the code given by Google also doesn't contain the title attribute as well, so I am placing this under Feature Request, but feel free to change.

Reference: https://section508.gov/content/quick-reference-guide#1194.22i

Comments

huiran created an issue. See original summary.

huiran’s picture

StatusFileSize
new656 bytes

Patch that adds TITLE attribute to the iFrame.

huiran’s picture

Status: Active » Needs review
huiran’s picture

StatusFileSize
new733 bytes

Also adding aria-hidden="true" per thread https://www.drupal.org/node/2878894 for accessibility.

huiran’s picture

Title: Title attribute for iFrame » iFrame Accessibility
huiran’s picture

StatusFileSize
new751 bytes

Updated patch to pass check on frame content.

lreynaga’s picture

+1 for #6

I am able to see the title attribute in the iframe. We follow Section 508 within our accessibility standards, so this is definitely something worth having in the module.

lreynaga’s picture

Status: Needs review » Reviewed & tested by the community
klonos’s picture

+1 yes please.

  • solotandem committed 57ab957 on 8.x-1.x authored by huiran
    Issue #2902160 by huiran Add title and aria-hidden attribute to noscript...
solotandem’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

yannisc’s picture

StatusFileSize
new612 bytes

Patch #6 adds content inside the iframe that fails HTML validation.

I attach a patch that removes this content :)

solotandem’s picture

@yannisc Better late than never, I committed your patch in context of #2946496: <noscript> fails w3c validation. Thanks.

mr.valters’s picture

fabianfiorotto’s picture

StatusFileSize
new662 bytes

Rerolled for version 1.6