https://bugzilla.wikimedia.org/show_bug.cgi?id=56418

       Web browser: ---
            Bug ID: 56418
           Summary: Invalid HTML in Echo notification list pop-up
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Echo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 209, 700, 19719
    Classification: Unclassified
   Mobile Platform: ---

Invalid HTML in Echo notification list pop-up.

http://dev.w3.org/html5/markup/a.html#a-constraints says:
"The interactive element a must not appear as a descendant of the a element."

The current code is:

(trimmed)

<ul class="mw-echo-notifications">
  <li class="mw-echo-notification">
    <a class="mw-echo-notification-wrapper"> <!-- wrapping [a] -->
      <div class="mw-echo-state">
        <img class="mw-echo-icon">
        <div class="mw-echo-content">
          <div class="mw-echo-title">
            <a class="mw-echo-grey-link">...</a> ... <!-- nested [a] -->
          </div>
          <div class="mw-echo-notification-footer">
            před 2 hodinami | 
            <a class="mw-echo-notification-secondary-link mw-echo-grey-link"
>...</a> <!-- nested [a] -->
          </div>
          <a class="mw-echo-notification-primary-link">...</a> <!-- nested [a]
-->
        </div>
      </div>
    </a>
  </li>
</ul>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to