<?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>151544</bug_id>
          
          <creation_ts>2015-11-22 08:22:52 -0800</creation_ts>
          <short_desc>Web Inspector: AXI: Accessibility Tools</short_desc>
          <delta_ts>2015-11-30 16:49:13 -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>Web Inspector</component>
          <version>Safari 9</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>149614</dup_id>
          
          <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="Tom Grimwood-Taylor">tom</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>cfleizach</cc>
    
    <cc>graouts</cc>
    
    <cc>jcraig</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1144038</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Grimwood-Taylor">tom</who>
    <bug_when>2015-11-22 08:22:52 -0800</bug_when>
    <thetext>The Web Inspector provides numerous useful tools for styling, debugging
and performance tuning, but it lacks in tools for improving accessibility.
I&apos;m partially-sighted and so most of what I&apos;d like to see would focus on
finding issues with low contrast, which has become a concerning recent
design trend. There are many web-based tools for reporting on the contrast
between a foreground and background colour, but they&apos;re entirely manual
and don&apos;t take into account the size of text in a usable way. It&apos;d be
fantastic if it took into account the font and font weight too, since
considering only the colours ignores spindly fonts, etc.

The tool could also find issues such as images without alt tags or other
inaccessible elements. I have little knowledge of what&apos;s available in web
accessibility, so perhaps someone else can suggest some additional ideas
to make this bug more concrete.

A short list of ideas:

- A tool that points out issues of low contrast due to the choice of
  foreground and background colour taking into account the size and
  weight of the font.
- Tools for reporting on poor choice of colours that will cause
  difficulty for colourblind users. Such tools exist such as
  https://michelf.ca/projects/sim-daltonism/, but require developer
  awareness and manual testing. Providing it within a developer&apos;s
  typical development environment would be ideal.
- Tools for reporting other issues such as images without alt tags
  or other elements that&apos;d unusable. This needs expansion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144039</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-11-22 08:23:23 -0800</bug_when>
    <thetext>&lt;rdar://problem/23643787&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144626</commentid>
    <comment_count>2</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2015-11-27 20:46:37 -0800</bug_when>
    <thetext>I agree that the current state of accessibility tooling in Web Inspector isn&apos;t great.


(In reply to comment #0)
&gt; The Web Inspector provides numerous useful tools for styling, debugging
&gt; and performance tuning, but it lacks in tools for improving accessibility.
&gt; I&apos;m partially-sighted and so most of what I&apos;d like to see would focus on
&gt; finding issues with low contrast, which has become a concerning recent
&gt; design trend. There are many web-based tools for reporting on the contrast
&gt; between a foreground and background colour, but they&apos;re entirely manual
&gt; and don&apos;t take into account the size of text in a usable way. It&apos;d be
&gt; fantastic if it took into account the font and font weight too, since
&gt; considering only the colours ignores spindly fonts, etc.

Do you know any tools that do what you&apos;ve described?
Are there any algorithms that we can use?


&gt; - Tools for reporting on poor choice of colours that will cause
&gt;   difficulty for colourblind users. Such tools exist such as
&gt;   https://michelf.ca/projects/sim-daltonism/, but require developer
&gt;   awareness and manual testing. Providing it within a developer&apos;s
&gt;   typical development environment would be ideal.

I wonder if this can be done with CSS filters and/or blend modes.


&gt; - Tools for reporting other issues such as images without alt tags
&gt; or other elements that&apos;d unusable. This needs expansion.

We could have a mode when we outline images without alt attributes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1145030</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2015-11-30 16:49:13 -0800</bug_when>
    <thetext>There is a an accessibility section in the node inspector, and a long term plan for auditing functionality, but no definitive timeline due to resource constraints. 

Please contribute patches to any of the bugs you think will be useful.

The list of outstanding enhancements for accessibility auditing and inspection is listed here:
https://bugs.webkit.org/buglist.cgi?query_format=advanced&amp;short_desc_type=substring&amp;short_desc=Web%20Inspector%3A%20AXI%3A%20&amp;component=Web%20Inspector&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;list_id=1191106

The list of completed (resolved) bugs for the accessibility inspection is here:
https://bugs.webkit.org/buglist.cgi?query_format=advanced&amp;list_id=1191112&amp;short_desc=Web%20Inspector%3A%20AXI%3A%20&amp;bug_status=RESOLVED&amp;bug_status=VERIFIED&amp;bug_status=CLOSED&amp;short_desc_type=substring&amp;component=Web%20Inspector

I&apos;m duping this one out to bug 149614. Please provide additional audit suggestions there. You might also want to break some of these enhancement suggestions into separate bugs. The alt attr suggestion is already planned. The contrast analyzer is a good standalone suggestion that I&apos;m not sure we have tracked yet.

Thanks.

*** This bug has been marked as a duplicate of bug 149614 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>