SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-2997

Rule: Form fields should have labels properly associated

    Details

    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Dinesh Bolkensteyn added a comment -

        We might require this also on textarea...

        Show
        Dinesh Bolkensteyn added a comment - We might require this also on textarea...
        Hide
        Dinesh Bolkensteyn added a comment -

        Done, does not apply on textarea

        Show
        Dinesh Bolkensteyn added a comment - Done, does not apply on textarea
        Hide
        Freddy Mallet added a comment -

        I guess this would also be a good thing to make it mandatory to locate the <label> element just before the <input> one but we're going to keep this rule as is for the time being.

        Manually tested !

        Show
        Freddy Mallet added a comment - I guess this would also be a good thing to make it mandatory to locate the <label> element just before the <input> one but we're going to keep this rule as is for the time being. Manually tested !
        Hide
        Dinesh Bolkensteyn added a comment -

        Yep I think we should keep it like this.

        I can totally imagine that in a table, the label would be in one cell, and the input in another.

        Moreover, the label can even be located after the input, it will still work technically (let's say you're working on a page that is in Arabic, supposed to be read from right to left...)

        Show
        Dinesh Bolkensteyn added a comment - Yep I think we should keep it like this. I can totally imagine that in a table, the label would be in one cell, and the input in another. Moreover, the label can even be located after the input, it will still work technically (let's say you're working on a page that is in Arabic, supposed to be read from right to left...)

          People

          • Assignee:
            Dinesh Bolkensteyn
            Reporter:
            Freddy Mallet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: