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-topic-split.php

    r5561 r5563  
    2727
    2828                        <div class="bbp-template-notice info">
    29                             <p><?php _e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></p>
     29                            <ul>
     30                                <li><?php _e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></li>
     31                            </ul>
    3032                        </div>
    3133
    3234                        <div class="bbp-template-notice">
    33                             <p><?php _e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></p>
     35                            <ul>
     36                                <li><?php _e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></li>
     37                            </ul>
    3438                        </div>
    3539
     
    9195                        </fieldset>
    9296
    93                         <div class="bbp-template-notice error">
    94                             <p><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ); ?></p>
     97                        <div class="bbp-template-notice error" role="alert" tabindex="-1">
     98                            <ul>
     99                                <li><?php _e( '<strong>WARNING:</strong> This process cannot be undone.', 'bbpress' ); ?></li>
     100                            </ul>
    95101                        </div>
    96102
Note: See TracChangeset for help on using the changeset viewer.