Conversation
This comment has been minimized.
This comment has been minimized.
d0cab79 to
c2aaa4a
Compare
This comment has been minimized.
This comment has been minimized.
c2aaa4a to
f5084b7
Compare
This comment has been minimized.
This comment has been minimized.
|
I suspect that the version of chrome on appveyor does not yet support the "descriptionFrom" attribute. |
|
Why is the option named "Report aria-description always" and not just "Report aria-description"? |
This comment has been minimized.
This comment has been minimized.
In the past we reported As an advanced setting the naming is developer centric. Happy to hear suggestions. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d965d62 to
d23f22e
Compare
This comment has been minimized.
This comment has been minimized.
I am a developper and tester but I do not know the whole codebase of NVDA. More specifically, I did not know that only some descriptions were reported, not all (provided the corresponding option in 'Object presentation' is checked). Regarding a suggestion to rephrase this option, it seems hard to have a one-line formulation. I would suggest to add more details in the user guide.
|
d23f22e to
95f17f8
Compare
|
I can add more details to the userguide. But do note these features and options are unlikely to stay the same. This option exists so that NV Access developers working on this can iteratively progress the related features. It also allows us to give specific instructions to browser developers to enable this for testing. |
This comment has been minimized.
This comment has been minimized.
95f17f8 to
aaee223
Compare
aaee223 to
ae697b9
Compare
This comment has been minimized.
This comment has been minimized.
|
Blocked by #12617 |
Typing in NVDA is not yet ubiquitous, a lot of development relies on text search / grep. This name was easy to confuse with CompoundTextInfo._getControlFieldForObject
String type can also be returned from XMLFormatting.XMLTextParser.parse Update typing to include optional string. Since data could be an optional string, but it is apparently not ommited when None, log a warning. This will help us to track if it ever is None. If it is not ever None, explicitly exclude None and tighten up the typing.
The following are used regularly in the code, descriptions from https://en.wikipedia.org/wiki/Specials_(Unicode_block)  OBJECT REPLACEMENT CHARACTER, placeholder in the text for another unspecified object, for example in a compound document. � REPLACEMENT CHARACTER, used to replace an unknown, unrecognized, or unrepresentable character.
ControlStack previously had None inserted, now it can be empty.
field -> childObject field -> textWithEmbeddedObjectsItem
Disabling setting 'presentation/object description' should not prevent aria-description from being reported. When present, aria-description should be reported in browse mode, focus mode, during say-all, and in object navigation. Aria-description should also be presented via both Braille and speech.
3f6c3a8 to
4aa379f
Compare
|
I have rebased this to condense all the "fixup" commits, and merge in the latest from master. When approved this can be merged as a squash merge. Keeping the commits separated is useful for reviewing this PR, but not entirely required once merged to master. There is no moved code, only modifications. |
michaelDCurran
left a comment
There was a problem hiding this comment.
I skipped the first 4 commits and started reviewing at "Remove ignoreEditableText param...".
The rest looks good to me.
This reverts commit 6262596. In issue #12746 it was reported that moving by paragraph in Google Docs in Google Chrome would sometimes result in NVDA saying "blank" for certain paragraphs. Similarly although not noted in an issue yet, Some lines in Thunderbird message composition windows would also say blank. These regressions were found to be caused by the merging of pr #12500 Further investigation found that the specific commit in the pr that caused this was 6262596 I'm not entirely sure on why this commit causes the regression, however my understanding is that this commit was only to improve readability / understanding of logic along the way and that the actual feature introduced by the pr had no dependency on this commit as such. Thus, this pr reverts that single commit, and therefore fixes #12746. Perhaps the logic of this commit can be better investigated at a later stage, but for now it is better to return to what we know works.
…(PR #12917) Historically the option "Object presentation: Report Object Descriptions" (default: true) has been limited to focus mode and object navigation. In Report aria-description always #12500 this was changed to report descriptions always. Historically, the word "object" in the settings category, and the name of this option was supposed to imply "focus mode / object nav specific behavior". This change introduces a way to test braille (not dots, raw text) output. Reverts changes from Report aria-description always #12500 that aimed to make the reportObjectDescriptions behavior consistent between browse and focus modes. Updates the user docs to specify that options in the Object Presentation category don't apply to browse mode.
Fixes #12751 Broken in #12500 When using quick nav ("h" in browse mode) to navigate to a heading nested in an article with a description, the description was announced before the heading. For quicknav and for focus changes, the most inner element should always be announced first, working outwards to provide additional context.
Reviewers - There are several commits to refactor / fix issues encountered. It will be easier to review the changes one commit at a time. I have already grouped and squashed related changes. Commits with messages starting with "Fixup / squash" will be squashed into the commit they reference
Link to issue number:
None
Summary of the issue:
The HTML attribute
aria-descriptionhas been introduced as one aspect of supporting a broader concept of annotations on the web. It maps toaccDescription. In contrast to other sources foraccDescriptionsuch astitle, our expectation is annotations should be reported whenever present.Description of how this pull request fixes the issue:
Experimental support has been added for reporting aria-description.
Testing strategy:
System tests for Chrome checking speech output in browse mode, focus mode, and say-all.
description-fromis only available in Chrome92.0.4479.0+90.0.4430.72Manual testing with Braille, mouse, and object navigation.
Known issues with pull request:
Change log entries:
New features:
aria-description will now be reported by default.Code Review Checklist: