Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media: Remove attribution from sequential keyboard navigation #13223

Merged
merged 1 commit into from Apr 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/story-editor/src/app/media/media3p/attribution.js
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