Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61378

Forum: Improve structure of forum post HTML

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-61378-master
    • Hide

      Covered by behat tests and unit tests.

      Setup:

      Create a forum, post a discussion and add some replies with file attachments.

      Testing:

      1. Verify that the forum displays each post as it did before.

      2. Verify that after following a "permalink" to a forum post, the post has a border on the left (so it looks like the "current" post)

       

      Show
      Covered by behat tests and unit tests. Setup: Create a forum, post a discussion and add some replies with file attachments. Testing: 1. Verify that the forum displays each post as it did before. 2. Verify that after following a "permalink" to a forum post, the post has a border on the left (so it looks like the "current" post)  

    Description

      HTML structure of a forum post can be improved.

      Improvements:

      1. Use <article> tag to mark it correctly.
      2. Use <time> tag to include the real datetime information.
      3. Use <address> tag to specify who and when the post came from.
      4. Use heading level tags to mark the subject of each post.
      5. Properly nest reply posts within their parent <article>
      6. Use a header tab for each article to split the metadata from the content.
      7. Use CSS to separate links, not text content.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              kedgar Kim Edgar
              Andrew Lyons Andrew Lyons
              David Monllaó David Monllaó
              Janelle Barcega Janelle Barcega
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/18

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 minutes
                  4m