Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression where many blank lines were reported in browse mode #16585

Merged
merged 11 commits into from
May 23, 2024

Conversation

SaschaCowley
Copy link
Member

Link to issue number:

Fixes #16554

Summary of the issue:

#16471 introduced a regression whereby many blank lines were reported in browse mode.

Description of user facing changes

Extraneous blank lines are no longer reported in browse mode.

Description of development approach

Updated checks in gecko_ia2.cpp:

  • Check that the length of name is non-zero (SysStringLen returns 0 if the BSTR passed is null)
  • Added check that description's value is not the empty string, as checking that it has a value is necessary but not sufficient.

Testing strategy:

Tested reading the PR for #16471 as described in #16554. Also tested as described in #16471 to ensure changes did not break the new behaviour.

Known issues with pull request:

N/A

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@seanbudd seanbudd changed the title Fix #16471 Fix regression where many blank lines were reported in browse mode May 22, 2024
@seanbudd seanbudd marked this pull request as draft May 22, 2024 03:03
@cary-rowen
Copy link
Contributor

Hi,
Shouldn't regression fixes be for beta versions?

@seanbudd
Copy link
Member

@cary-rowen - this regression is on alpha, caused by a PR targeting 2024.3. It's not in the 2024.2 code.

@SaschaCowley - I assume you are still working on this as the diff appears to be empty, so I've marked this a draft

@cary-rowen
Copy link
Contributor

Sorry, I misremembered this

@SaschaCowley SaschaCowley marked this pull request as ready for review May 22, 2024 04:23
@SaschaCowley SaschaCowley requested a review from a team as a code owner May 22, 2024 04:23
Copy link
Collaborator

@LeonarddeR LeonarddeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it!

@seanbudd seanbudd merged commit ce137cd into nvaccess:master May 23, 2024
1 check passed
@Adriani90
Copy link
Collaborator

It seems there are still blank lines added from time to time to the virtual document when web pages update content dynamically.E.g. on Github insights page while the time stamps for the issues / PRs are updating.

@SaschaCowley
Copy link
Member Author

Can you open a new issue for this, and if possible provide a concrete repro case?

@Adriani90
Copy link
Collaborator

I can try to report a concrete case and isolate it as far as possible, it seems it happens only in Firefox.

@SaschaCowley SaschaCowley deleted the fix_figure_aria_hidden_children branch August 22, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Many blank lines in browse mode after #16471 merge
5 participants