|
|
| Participants: |
Helen Foster and Sam Marshall
|
| Security Level: |
None
|
| QA Assignee: |
Helen Foster
|
| Resolved date: |
23/Jun/09
|
| Affected Branches: |
MOODLE_19_STABLE
|
| Fixed Branches: |
MOODLE_19_STABLE
|
|
When blocks have no title, there is code that is supposed to stop it printing out the skip link (as it does not make sense to have a skip link that offers to 'Skip [blank]' - how is the user supposed to know what they are skipping).
Unfortunately this code is broken. I am going to fix it.
|
|
Description
|
When blocks have no title, there is code that is supposed to stop it printing out the skip link (as it does not make sense to have a skip link that offers to 'Skip [blank]' - how is the user supposed to know what they are skipping).
Unfortunately this code is broken. I am going to fix it. |
Show » |
|
Basically the logic was broken because it was testing if(!empty($heading)), but $heading is something like <h2></h2> when it's empty, so this wasn't right - should have used $title instead. It was already using $title for the actual text within the skip link.