← Back to team overview

mahara-contributors team mailing list archive

[Bug 1486817] [NEW] Incorrect label setup when creating custom layout

 

Public bug reported:

Steps to reproduce

- "Edit layout" on any page
- Open "Create custom layout", change some stuff and click "Create new layout"
- Without refreshing the page, inspect the newly created radio button and its associated label

The radio button ID and label 'for' attribute don't match, and the label
contains the text "100" instead of an accurate representation of the
layout. If you refresh the page the label and radio button will be set
up properly, so this only happens when the option is added with
JavaScript.

Affects latest master

** Affects: mahara
     Importance: Low
         Status: Confirmed


** Tags: accessibility

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1486817

Title:
  Incorrect label setup when creating custom layout

Status in Mahara:
  Confirmed

Bug description:
  Steps to reproduce

  - "Edit layout" on any page
  - Open "Create custom layout", change some stuff and click "Create new layout"
  - Without refreshing the page, inspect the newly created radio button and its associated label

  The radio button ID and label 'for' attribute don't match, and the
  label contains the text "100" instead of an accurate representation of
  the layout. If you refresh the page the label and radio button will be
  set up properly, so this only happens when the option is added with
  JavaScript.

  Affects latest master

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1486817/+subscriptions


Follow ups