diff --git a/xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-ui/src/main/resources/XWiki/InplaceEditing.xml b/xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-ui/src/main/resources/XWiki/InplaceEditing.xml index d68f6838f64b..49dd7873cdb5 100644 --- a/xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-ui/src/main/resources/XWiki/InplaceEditing.xml +++ b/xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-ui/src/main/resources/XWiki/InplaceEditing.xml @@ -531,8 +531,7 @@ define('editInPlace', [ options.afterEdit(xwikiDocument); return xwikiDocument; }).finally(() => { - // Remove the aria-expanded attribute which is incorrect for role=textbox - $('#xwikicontent').removeClass('loading').removeAttr('aria-expanded'); + $('#xwikicontent').removeClass('loading'); // Then wait for an action (save, cancel, reload) only if the editors were loaded successfully. }).then(maybeSave) // Then unlock the document both when the edit ended with success and with a failure.