ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.78k stars 2.46k forks source link

Accessibility - Focus does not go to dialog content for html contents #5458

Open parthapal33 opened 1 year ago

parthapal33 commented 1 year ago

Type of report

Bug

Provide detailed reproduction steps (if any)

When ckeditor dialog is created with custom html, focus does not go to dialog content. There is no way to focus dialog content with keyboard navigation. Please follow this jsfiddle for sample code. http://jsfiddle.net/gukqcnmp/

Expected result

If dialog html contains focusable element like input box or radio button, then those input fields should be focused when dialog is opened. Tab and Shift+Tab should move focus between elements.

Actual result

When dialog is opened, focus goes to ok/cancel button. Tab and shift+tab moves focus between ok and cancel buttons.

KarolDawidziuk commented 1 year ago

Hi @parthapal33,

I can confirm this issue.