https://bugs.documentfoundation.org/show_bug.cgi?id=92389

--- Comment #25 from Michael Weghorn <[email protected]> ---
(In reply to Adriani90 from comment #24)
> I seems there is a 0xfffc object replacement character rendered in the
> document when a comment is added and I navigate with NVDA character by
> character. Is that character intentional? It is also rendered within a word
> if the comment is added in the middle of a word.

Don't have much experience with that yet, but from a first glance, I suspect
yes. From how I understand it so far, that character is used to indicate that
there is an object, and further information about that object should then be
retrievable via the Hyperlink interface.
(There are tdf#77679 and tdf#35107 about that not working properly yet, though,
at least on Linux with AT-SPI.)

I also see that character in use by Mozilla Firefox on Windows.

Demonstrating that in NVDA's Python console with the sample HTML doc mentioned
below, with the web document in Firefox being the focus object initially:

    >>> focus
    <NVDAObjects.Dynamic_DocumentMozillaIAccessible object at 0x0167ADB0>
    >>> focus.role
    <Role.DOCUMENT: 52>
    >>> focus.childCount
    2
    >>> focus.children[0]
    <NVDAObjects.IAccessible.mozilla.Mozilla object at 0x06C05D50>
    >>> firstParagraph = focus.children[0]
    >>> firstParagraph.role
    <Role.PARAGRAPH: 47>
    >>> firstParagraph.IAccessibleTextObject.text(0, -1)
    'This is some paragraph with a  . '
    >>> firstParagraph.IAccessibleTextObject.text(0, -1)[-2]
    '.'
    >>> firstParagraph.IAccessibleTextObject.text(0, -1)[-3]
    ' '
    >>> ord(firstParagraph.IAccessibleTextObject.text(0, -1)[-3])
    65532
    >>> hex(ord(firstParagraph.IAccessibleTextObject.text(0, -1)[-3]))
    '0xfffc'

Sample doc:

<html>
<body>
<p>
        This is some paragraph with a <a href="https://www.example.org/";> link
</a>.
</p>
<p>
        This is another paragraph, without any link.
</p>

</body>
</html>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to