Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11860

Data table: The scope attribute on the td element is obsolete

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.1.0.Final
    • Fix Version/s: 4.2.0.CR1
    • Labels:
      None
    • Environment:

      RichFaces 4.1.1-SNAPSHOT
      Metamer 4.1.1-SNAPSHOT r.23118
      Mojarra 2.1.5
      JBoss AS 7.1.0.CR1
      OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
      Chrome 16.0.912.63 @ Linux i686

      Description

      The column footer is rendered as in following code snippet (can be reproduced in Metamer http://localhost:8080/metamer/faces/components/richDataTable/facets.xhtml):

      <tfoot id="form:richDataTable:tf" class="rf-dt-tft">
        <tr id="form:richDataTable:cf" class="rf-dt-sftr">
          <td class="rf-dt-sftr-c" scope="col">
            <span id="form:richDataTable:columnFooterState">State Footer</span>
          </td>
          <td class="rf-dt-sftr-c" scope="col">
            <span id="form:richDataTable:columnFooterCapital">Capital Footer</span>
          </td>
        </tr>
        <tr id="form:richDataTable:f" class="rf-dt-ftr">
          <td class="rf-dt-ftr-c" colspan="2" scope="colgroup">
            <span id="form:richDataTable:footer">Footer</span>
          </td>
        </tr>
      </tfoot>
      

      Attribute scope on element td is obsolete in HTML5 and should be set on th element instead.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                ppitonak Pavol Pitoňák
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: