Skip to content

Commit

Permalink
a11y: iframe title set as PayPal (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishakha94 authored Jun 22, 2020
1 parent 9543b84 commit 3914397
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/button/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { debounce, once } from 'zoid/src/lib';
import { pptm } from '../external';
import { config } from '../config';
import { SOURCE, ENV, FPTI, FUNDING, BUTTON_LABEL, BUTTON_COLOR,
BUTTON_SIZE, BUTTON_SHAPE, BUTTON_LAYOUT, COUNTRY } from '../constants';
BUTTON_SIZE, BUTTON_SHAPE, BUTTON_LAYOUT, COUNTRY, FUNDING_BRAND_LABEL } from '../constants';
import { redirect as redir, checkRecognizedBrowser,
getBrowserLocale, getSessionID, request, getScriptVersion,
isIEIntranet, isEligible, getCurrentScriptUrl,
Expand Down Expand Up @@ -182,7 +182,8 @@ export const Button : Component<ButtonOptions> = create({

attributes: {
iframe: {
allowpaymentrequest: 'allowpaymentrequest'
allowpaymentrequest: 'allowpaymentrequest',
title: FUNDING_BRAND_LABEL.PAYPAL
}
},

Expand Down

0 comments on commit 3914397

Please sign in to comment.