Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/11/2014 05:25:09 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Convert template notices from paragraph tags to unordered lists.

Improves accessibility by hinting there may be several notices on the page.

Props Karl Groves, netweb. FIxes #2637.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/form-reply-move.php

    r5561 r5563  
    2727
    2828                        <div class="bbp-template-notice info">
    29                             <p><?php _e( 'You can either make this reply a new topic with a new title, or merge it into an existing topic.', 'bbpress' ); ?></p>
     29                            <ul>
     30                                <li><?php _e( 'You can either make this reply a new topic with a new title, or merge it into an existing topic.', 'bbpress' ); ?></li>
     31                            </ul>
    3032                        </div>
    3133
    3234                        <div class="bbp-template-notice">
    33                             <p><?php _e( 'If you choose an existing topic, replies will be ordered by the time and date they were created.', 'bbpress' ); ?></p>
     35                            <ul>
     36                                <li><?php _e( 'If you choose an existing topic, replies will be ordered by the time and date they were created.', 'bbpress' ); ?></li>
     37                            </ul>
    3438                        </div>
    3539
     
    6569                        </fieldset>
    6670
    67                         <div class="bbp-template-notice error">
    68                             <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ); ?></p>
     71                        <div class="bbp-template-notice error" role="alert" tabindex="-1">
     72                            <ul>
     73                                <li><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ); ?></li>
     74                            </ul>
    6975                        </div>
    7076
Note: See TracChangeset for help on using the changeset viewer.