<?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>187013</bug_id>
          
          <creation_ts>2018-06-25 13:13:04 -0700</creation_ts>
          <short_desc>AX: WKWebView should support increasing text size for accessibility</short_desc>
          <delta_ts>2022-03-15 16:38:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ali Juma">ajuma</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eugenebut</cc>
    
    <cc>jcraig</cc>
    
    <cc>n_wang</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1436202</commentid>
    <comment_count>0</comment_count>
    <who name="Ali Juma">ajuma</who>
    <bug_when>2018-06-25 13:13:04 -0700</bug_when>
    <thetext>WKWebView ignores the &quot;Larger Text&quot; accessibility setting on iOS (Settings-&gt;General-&gt;Accessibility-&gt;Larger Text).

WKWebView should either automatically increase text size when this setting is enabled (creating a better user experience in all WKWebView applications), or expose the currently private [WKWebView _setTextZoom] so that an embedding app can opt to increase text size for users that need this.

rdar://41436409</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851577</commentid>
    <comment_count>1</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-03-15 16:38:12 -0700</bug_when>
    <thetext>Standard web text does not not reflect the system font size because not all web views are coded well enough to contain it well. More recently iOS added app-specific font sizes, because the same is true of native apps, not all support dynamic type equivalently. iOS Safari added a domain-specific font size controller in the URL field.

For your app, you can either adjust the web content to use the legacy vendor-prefixed CSS keywords (like -apple-system-body) or implement your own font size controller similar to what iOS Safari has done in iOS 13 and later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851578</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-03-15 16:38:21 -0700</bug_when>
    <thetext>There&apos;s an example of the vendor-prefixed font size keywords in the demo file for reduced motion. View source here: https://webkit.org/blog-files/prefers-reduced-motion/prm.htm

html {
	font: 100% sans-serif;
	font: -apple-system-body;
}
body {
	font-size: 0.8em;
	line-height: 1.1;
}</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>