Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/11/2014 05:25:09 PM (12 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-tag.php

    r5561 r5563  
    2323
    2424                                <div class="bbp-template-notice info">
    25                                         <p><?php _e( 'Leave the slug empty to have one automatically generated.', 'bbpress' ); ?></p>
     25                                        <ul>
     26                                                <li><?php _e( 'Leave the slug empty to have one automatically generated.', 'bbpress' ); ?></li>
     27                                        </ul>
    2628                                </div>
    2729
    2830                                <div class="bbp-template-notice">
    29                                         <p><?php _e( 'Changing the slug affects its permalink. Any links to the old slug will stop working.', 'bbpress' ); ?></p>
     31                                        <ul>
     32                                                <li><?php _e( 'Changing the slug affects its permalink. Any links to the old slug will stop working.', 'bbpress' ); ?></li>
     33                                        </ul>
    3034                                </div>
    3135
    … …  
    6569
    6670                                <div class="bbp-template-notice">
    67                                         <p><?php _e( 'Merging tags together cannot be undone.', 'bbpress' ); ?></p>
     71                                        <ul>
     72                                                <li><?php _e( 'Merging tags together cannot be undone.', 'bbpress' ); ?></li>
     73                                        </ul>
    6874                                </div>
    6975
    … …  
    94100
    95101                                        <div class="bbp-template-notice info">
    96                                                 <p><?php _e( 'This does not delete your topics. Only the tag itself is deleted.', 'bbpress' ); ?></p>
     102                                                <ul>
     103                                                        <li><?php _e( 'This does not delete your topics. Only the tag itself is deleted.', 'bbpress' ); ?></li>
     104                                                </ul>
    97105                                        </div>
    98106                                        <div class="bbp-template-notice">
    99                                                 <p><?php _e( 'Deleting a tag cannot be undone.', 'bbpress' ); ?></p>
    100                                                 <p><?php _e( 'Any links to this tag will no longer function.', 'bbpress' ); ?></p>
     107                                                <ul>
     108                                                        <li><?php _e( 'Deleting a tag cannot be undone.', 'bbpress' ); ?></li>
     109                                                        <li><?php _e( 'Any links to this tag will no longer function.', 'bbpress' ); ?></li>
     110                                                </ul>
    101111                                        </div>
    102112
    … …  
    120130        </div>
    121131
    122 <?php endif; ?>
     132<?php endif;
Note: See TracChangeset for help on using the changeset viewer.