<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>285120</bug_id>
          
          <creation_ts>2024-12-23 16:59:42 -0800</creation_ts>
          <short_desc>haptic feedback for &lt;input type=checkbox switch&gt; should require user activation</short_desc>
          <delta_ts>2025-01-03 08:50:18 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>Safari 18</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 18</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>petamoriken</reporter>
          <assigned_to name="Aditya Keerthi">akeerthi</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>annevk</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>pp.mizdra</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2083726</commentid>
    <comment_count>0</comment_count>
    <who name="">petamoriken</who>
    <bug_when>2024-12-23 16:59:42 -0800</bug_when>
    <thetext>Haptic feedback for &lt;input type=checkbox switch&gt; was introduced in iOS Safari 18.0.
https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes#Forms

Currently, it is possible to exploit this feature and generate vibrations from JavaScript, so haptic feedback should be disabled without *user activation*.

FYI (a Japanese article):
https://zenn.dev/dev_commune/articles/1ae0b3744b04ca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084302</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-30 17:00:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/142190653&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084552</commentid>
    <comment_count>2</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2025-01-02 14:05:07 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38473</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2084717</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-03 08:50:15 -0800</bug_when>
    <thetext>Committed 288403@main (dfb3971bb0d9): &lt;https://commits.webkit.org/288403@main&gt;

Reviewed commits have been landed. Closing PR #38473 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>