Browse files

Added guidance for how UI filtering for suggestions should work. (#848)

  • Loading branch information...
adanilo authored and travisleithead committed Mar 30, 2017
1 parent 4154267 commit e205f9d142ea0870ddf8bccc2d8a31f9b5abe3df
Showing with 3 additions and 0 deletions.
  1. +3 −0 sections/semantics-forms.include
@@ -6714,6 +6714,9 @@ You cannot submit this form when the field is incorrect.</samp></pre>
User agents are encouraged to filter the suggestions represented by the <a>suggestions source element</a> when the number of suggestions is
large, including only the most relevant ones (e.g., based on the user's input so far). No precise
threshold is defined, but capping the list at four to seven values is reasonable.
User agents that perform filtering should implement substring matching on the <{option/label}> attribute.
<p class="warning">Existing user agents filter on either <{option/value}> or <{option/label}> so the behavior may be inconsistent.</p>
How user selections of suggestions are handled depends on whether the element is a control
accepting a single value only, or whether it accepts multiple values:

0 comments on commit e205f9d

Please sign in to comment.