Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-17186

Unread Posts File Icon Has An Empty SR-ONLY Span On Topic Lists - Except The Search Results Topic List

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.3.10
    • None
    • Styles

    Description

      Bug Description:
      New posts have a little red file icon beside them, the icon also has a hidden sr-only span which when used on other icons contains a description.

       

      The sr-only span for the file icon is empty on all the topic lists except the search results topic list.

       

      But in the common language file, the new posts language string has 'not used anymore' beside it.

       

      See:

      Line  454: 	'NEW_POST'					=> 'New post',	// Not used anymore

       

      The code used in the search results template is:

      <span class="sr-only">{L_NEW_POST}</span>

       

      The code used in the other 4 templates is:

      <span class="sr-only">{NEW_POST}</span>

       

      Suggested Fix:
      The language file says 'new post' is not used anymore, so perhaps it should say 'unread posts' instead.

       

      Templates:
      viewforum_body.html | ucp_main_subscribed.html | ucp_main_front.html | ucp_main_bookmarks.html

       

      Find:

      <span class="sr-only">{NEW_POST}</span>

       

      Change To:

      <span class="sr-only">{L_UNREAD_POSTS}</span>

       

       

      Template:
      search_results.html

       

      Find:

      <span class="sr-only">{L_NEW_POST}</span>

       

      Change To:

      <span class="sr-only">{L_UNREAD_POSTS}</span>

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ForumFlair ForumFlair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: