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

       Web browser: ---
             Bug #: 36755
           Summary: gallery should not use ul/li
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Gallery generate at the moment an unnumbered list containing the images. In the
browser the bullets are hidden by CSS. When you open copy a gallery from web
page to a word processing you get a unnumbered list with annoying bullets.

The unnumbered list is for semantical reasons not necessary. For HTML4 with
div/div instead of ul/li should be satisfactorily and has no disadvantages.

For HTML5 the figure element would be the right element:
http://www.w3.org/TR/html5/the-figure-element.html#the-figure-element

<gallery title="Caption">
File:Image1.jpg|First Image
File:Image2.jpg|Second Image
</gallery>

<figure class="gallery">
 <figcaption>Caption</figcaption>
 <figure>
  <img src="Image1.jpg" />
  <figcaption>First Image</figcaption>
 </figure>
 <figure>
  <img src="Image2.jpg" />
  <figcaption>Second Image</figcaption>
 </figure>
</figure>

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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