https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35157

            Bug ID: 35157
           Summary: The searchfieldstype select element produces invalid
                    HTML
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Accessibility
          Assignee: martin.renvo...@ptfs-europe.com
          Reporter: lu...@bywatersolutions.com
        QA Contact: testo...@bugs.koha-community.org
                CC: martin.renvo...@ptfs-europe.com,
                    matt.blenkin...@ptfs-europe.com, oleon...@myacpl.org

Run any page that contains the "Search patrons" search bar through an HTML
validator and you will see a lot of:

Stray start tag span.
Stray end tag span.

This is because <option> tags contain spans. <span> is not a valid child
element of <option>

The HTML5 spec:

https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element


There are essentially two options for what can be put inside an <option>
element:

1. Test
2. Nothing

These spans are added via the patronfields.inc

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to