<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I've been trying to get a grip on bug fdo#70588 "<span
      id="summary_alias_container"><span id="short_desc_nonedit_display">Accessible
        labels in alerts claim to be ROLE_PASSWORD_TEXT instead of
        ROLE_LABEL". In short this bug makes text inside message dialogs
        unreadable to screen readers (on all platforms). <br>
        <br>
        I've followed the code around a bit and it seems to be an issue
        with different WinBits that has the same value, more exactly
        WB_WORDBREAK and WB_PASSWORD has the same value and indirectly
        set the AccessibleRole to PASSWORD_TEXT. <br>
        <br>
        In newer message dialogs here is were the WB_WORDBREAK gets
        added:<br>
<a class="moz-txt-link-freetext" href="http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx#2046">http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx#2046</a><br>
        <br>
        Here is were the AccessibleRole gets set to PASSWORD_TEXT (due
        to the fact that WB_WORDBREAK is set)<br>
<a class="moz-txt-link-freetext" href="http://opengrok.libreoffice.org/xref/core/accessibility/source/standard/vclxaccessibleedit.cxx#226">http://opengrok.libreoffice.org/xref/core/accessibility/source/standard/vclxaccessibleedit.cxx#226</a><br>
        <br>
        I should probably mention that WB_READONLY and WB_NOLABEL has
        the same value, but that has only positive effects in the above
        mentioned case because labels in messageboxes should of course
        be read only. <br>
        <b><br>
        </b><b>Does it make sense to change the values of WinBits or how
          does one deal with a problem like this?</b><br>
        <br>
        For quick reference to WinBits:<br>
<a class="moz-txt-link-freetext" href="http://opengrok.libreoffice.org/xref/core/include/tools/wintypes.hxx#211">http://opengrok.libreoffice.org/xref/core/include/tools/wintypes.hxx#211</a><br>
      </span></span>
    <pre class="moz-signature" cols="72">-- 
Regards
Niklas Johansson</pre>
  </body>
</html>