Skip to content

fix(react): editor and preview missing accessible names #267

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

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

AriPerkkio
Copy link
Member

Adds accessible names for editor and preview so that users with assistive technologies can identify the elements.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@@ -160,6 +160,10 @@ function Preview({ preview, iframe, previewCount, first, last, toggleTerminal, i
if (preview.url) {
iframe.ref.src = preview.url;
}

if (preview.title) {
iframe.ref.title = preview.title;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AriPerkkio AriPerkkio requested a review from Nemikolh August 20, 2024 10:57
Copy link
Member

@Nemikolh Nemikolh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@AriPerkkio AriPerkkio merged commit bcbffe6 into stackblitz:main Aug 20, 2024
9 checks passed
@AriPerkkio AriPerkkio deleted the fix/accessible-names-missing branch August 20, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants