Opened 11 years ago
Closed 11 years ago
#6623 closed enhancement (fixed)
Accessibility: Form elements in bp-groups/
| Reported by: | mercime | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.4 |
| Component: | Groups | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Bind labels to form controls: add 'id' attributes to form controls as needed, add 'for' attributes to labels, and improve markup as needed.
Attachments (4)
Change History (20)
#2
@
11 years ago
Groups Widget: Link Title - Add 'id' attribute for text input field and use the new 'id' value to replace the 'for' value of the label tag.
bp-groups-widgets-linktitle-id-for.php
#3
@
11 years ago
Groups Widget: Select element - Replace the 'for' value of the label with the value of the newly created 'id' attribute of the select element.
bp-groups-widgets-select-id-for.php
#4
@
11 years ago
Groups Widget: Max no. of groups- Replace the 'for' value of the label with the value of the 'id' attribute of the text field.
bp-groups-widgets-maxnum-id-for.php
#6
@
11 years ago
@hnla Thanks for checking this out.
"widget-bp_groups_widget-2-max_groups", "widget-bp_groups_widget-3-max_groups", etc.
#7
@
11 years ago
@mercime was just concerned whether this pushed out a readable token, but realised it mattere little as we're having to match an existing ID already in use, but albeit slightly verbose it is readable.
These all look fine though I would go ahead and commit.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Groups Widget: Title - change the 'for' value of the
labeltag to match the 'id' value of the text input field.bp-groups-widgets-title-id-for.patch