[wp-trac] [WordPress Trac] #64307: Comments: Website input field causes accessibility warning

WordPress Trac noreply at wordpress.org
Wed Nov 26 02:01:32 UTC 2025


#64307: Comments: Website input field causes accessibility warning
---------------------------+-----------------------------
 Reporter:  wildworks      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Comments       |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 Originally reported at https://github.com/WordPress/gutenberg/issues/73557

 The comment form has the following HTML for entering a website URL:

 {{{
 <p class="comment-form-url">
   <label for="url">Website</label>
   <input id="url" name="url" type="url" value="" size="30" maxlength="200"
 autocomplete="url">
 </p>
 }}}

 Apparently, some accessibility scanning tool flags this HTML as an
 accessibility error:

 {{{
 WCAG2AA.Principle1.Guideline1_3.1_3_5.H98.InvalidAutoComplete.UrlInvalid
 autocomplete value: url. Element does not belong to Url control group.
 }}}


 Here is the resource related to this error:
 https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose.html

 First of all, I would appreciate it if you could evaluate whether this
 HTML is really inappropriate from an accessibility perspective.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64307>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list