Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25627

RichTextAreaElement#dropFile leaves an unlabelled file input in the page

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • 15.10.13
    • Unknown
    • 4.1.2 Name, Role, Value

    Description

      RichTextAreaElement#loadFile, in the CKEditor test page objects, appends an <input type="file"> to the page body to load the dropped file, and never removes it. When the page is not reloaded afterwards, e.g. after saving from the in-place edit mode, the next WCAG validation reports it as "Form elements must have labels".

      This happens in InplaceEditIT#dropNonImageFile, on the attachments pane after save.

      The input should be removed once the drop event has been dispatched.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: