Skip to content

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