Skip to content

Commit

Permalink
Media: Remove attribution from sequential keyboard navigation (#13223)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnirwal committed Apr 25, 2023
1 parent 39c9a73 commit b5e2b67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/story-editor/src/app/media/media3p/attribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export function UnsplashAttribution() {
target={'_blank'}
rel={'noreferrer'}
aria-label={getAriaLabel(MEDIA_PROVIDER.unsplash)}
tabIndex={-1}
>
<AttributionPill aria-hidden>
<Text size={TextSize.XSmall}>{__('Powered by', 'web-stories')}</Text>
Expand All @@ -115,6 +116,7 @@ export function CoverrAttribution() {
target={'_blank'}
rel={'noreferrer'}
aria-label={getAriaLabel(MEDIA_PROVIDER.coverr)}
tabIndex={-1}
>
<AttributionPill aria-hidden>
<Text size={TextSize.XSmall}>{__('Powered by', 'web-stories')}</Text>
Expand All @@ -131,6 +133,7 @@ export function TenorAttribution() {
target={'_blank'}
rel={'noreferrer'}
aria-label={getAriaLabel(MEDIA_PROVIDER.tenor)}
tabIndex={-1}
>
<AttributionPill aria-hidden>
<TenorLogo />
Expand Down

0 comments on commit b5e2b67

Please sign in to comment.