Commit 18f67dbe authored by mathp's avatar mathp Committed by Commit bot

[Local NTP] Add role="presentation" on the New Tab Page iframes.

BUG=449748

Review URL: https://codereview.chromium.org/869073004

Cr-Commit-Position: refs/heads/master@{#313762}
parent 41a787b1
......@@ -698,6 +698,10 @@ function createTile(page, position) {
// link element (which also has a tabindex).
titleElem.tabIndex = '0';
// Make the iframe presentational for accessibility so screen readers perceive
// the iframe content as just part of the same page.
titleElem.setAttribute('role', 'presentation');
// Why iframes have IDs:
//
// On navigating back to the NTP we see several onmostvisitedchange() events
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment