Skip to content

Commit

Permalink
revert indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendt committed Aug 7, 2017
1 parent c4c9d6c commit 392ac49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtins/amp-img.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export class AmpImg extends BaseElement {
// only read "Graphic" when using only 'alt'.
if (this.element.getAttribute('role') == 'img') {
this.element.removeAttribute('role');
user().error('AMP-IMG', 'Setting role=img on amp-img elements breaks ' +
'screen readers please just set alt or ARIA attributes, they will ' +
'be correctly propagated for the underlying <img> element.');
user().error('AMP-IMG', 'Setting role=img on amp-img elements breaks ' +
'screen readers please just set alt or ARIA attributes, they will ' +
'be correctly propagated for the underlying <img> element.');
}

this.propagateAttributes(ATTRIBUTES_TO_PROPAGATE, this.img_);
Expand Down

0 comments on commit 392ac49

Please sign in to comment.