Re: [External] datepicker form title

Can you provide the markup for the entire form field? You don’t need an alt and title attribute – especially when their values are duplicated – on any image but if this <img> is actually within an <input> field, that could be causing your error. I don’t think you can have an active image inside a form field. It’s going to create problems for screen reader and keyboard-only users.

From: Louise Lister <Louise.Lister@iop.org>
Date: Monday, February 22, 2021 at 9:20 AM
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Subject: [External] datepicker form title
Resent-From: <w3c-wai-ig@w3.org>
Resent-Date: Monday, February 22, 2021 at 9:15 AM


Hello there,

I am picking up an accessibility error on a form date picker to state that this should not include a title attribute unless it’s decorative.  It’s contained within a functional field in a webform – when someone clicks on the field which includes this small calendar image they can select a date on a calendar). Can anyone advise if this therefore needs to be set to decorative? Code snippet is below:

<img class="ui-datepicker-trigger" src="/modules/contrib/webform/images/elements/date-calendar.png" alt="Select date" title="Select date">

With thanks
Louise

________________________________
This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please immediately notify the sender, permanently and securely delete any copies and do not take action with it or in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically..

Institute of Physics. Registered charity no. 293851 (England & Wales) and SCO40092 (Scotland)
Registered Office:  37 Caledonian Road, London, N1 9BU<https://urldefense.proofpoint.com/v2/url?u=https-3A__goo.gl_maps_DUHbKcbzuUN2&d=DwMFaQ&c=WlnXFIBCT3pmNh_w8hYeLw&r=XGRvi0C5Qd73Krn0GqObqkXzMfikPXgWdSS39KkW_Lk&m=IR58QE5v13SQswb1M-RVrvzo3gVLpbGNZ-FDfhliWEA&s=EDlrMrRShG2aRFI9rru-oYZtggrx0xlcnuRxgHwymj0&e=>
Your privacy is important to us. For information about how IOP uses your personal data, please see our Privacy Policy<https://urldefense.proofpoint.com/v2/url?u=https-3A__emea01.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.iop.org-252Fprivacy-252Findex.html-26data-3D02-257C01-257C-257C6716aa3c6fd84da5102808d5c0b234a0-257Cf9ee42e6bad04e639115f704f9ccceed-257C0-257C0-257C636626793962820374-26sdata-3DRI6OT4MumRlklNzF5i2M9ZxS6P-252FxxLg-252FJwcnMJ-252B0480-253D-26reserved-3D0&d=DwMFaQ&c=WlnXFIBCT3pmNh_w8hYeLw&r=XGRvi0C5Qd73Krn0GqObqkXzMfikPXgWdSS39KkW_Lk&m=IR58QE5v13SQswb1M-RVrvzo3gVLpbGNZ-FDfhliWEA&s=HkH40BK6YTiOoVtgC1vYFP3P_Hgyx1X5Oe9VaFiO6rc&e=>
________________________________
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown. 
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity to
whom it is intended even if addressed incorrectly.  Please delete it from
your files if you are not the intended recipient.  Thank you for your
compliance.  Copyright (c) 2021 Cigna
==============================================================================

Received on Monday, 22 February 2021 15:49:38 UTC