Skip to content

Conversation

@rparth07
Copy link
Contributor

@rparth07 rparth07 commented Jan 28, 2026

Summary

This changes add new check for a11y cypress tests and also contains fix for buggy dialogs

Set of core patches required:

  1. https://gerrit.libreoffice.org/c/core/+/198296 ui: replace GtkFrame with GtkBox to simplify UI and better a11y support
  2. https://gerrit.libreoffice.org/c/core/+/198297 accessibility: add accessible name for table GtkComboBoxText in area tab page
  3. https://gerrit.libreoffice.org/c/core/+/198298 add missing a11y support for GtkComboBoxText in tab pages from frame dialog
  4. https://gerrit.libreoffice.org/c/core/+/198299 add missing a11y support for GtkComboBoxText in tab pages from Toc dialog
  5. https://gerrit.libreoffice.org/c/core/+/198300 add missing a11y support for GtkComboBoxText in find and replace dialog
  6. https://gerrit.libreoffice.org/c/core/+/198301 a11y: add missing accessible properties in numbering format page
  7. https://gerrit.libreoffice.org/c/core/+/198302 a11y: update label IDs for indentation fields in numbering settings
  8. https://gerrit.libreoffice.org/c/core/+/198303 a11y: fix accessibility issues in colorpage.ui
  9. https://gerrit.libreoffice.org/c/core/+/198304 a11y: fix accessibility issues in colorpage.ui and indentpage.ui
  10. https://gerrit.libreoffice.org/c/core/+/198305 a11y: enhance accessibility in fldrefpage.ui and fldvarpage.ui
  11. https://gerrit.libreoffice.org/c/core/+/198306 a11y: enhance accessibility in frmaddpage.ui and frmtypepage.ui
  12. https://gerrit.libreoffice.org/c/core/+/198307 a11y: enhance accessibility in frmaddpage.ui and frmtypepage.ui
  13. https://gerrit.libreoffice.org/c/core/+/198308 a11y: enhance accessibility features in the table of contents entries page
  14. https://gerrit.libreoffice.org/c/core/+/198309 a11y: enhance accessibility features in Area tab pages UI
  15. https://gerrit.libreoffice.org/c/core/+/198310 a11y: improve accessibility in gradient page UI by updating layout
  16. https://gerrit.libreoffice.org/c/core/+/198311 a11y: enhance a11y in numbering options page by restructuring UI elements
  17. https://gerrit.libreoffice.org/c/core/+/198312 a11y: enhance accessibility features in various UI components
  18. https://gerrit.libreoffice.org/c/core/+/198313 a11y: enhance a11y features in Manage Style Page by updating UI elements
  19. https://gerrit.libreoffice.org/c/core/+/198314 a11y: fix accessibility issues in Find and Replace dialog
  20. https://gerrit.libreoffice.org/c/core/+/198315 a11y: improve accessibility in Footnote and Endnote pages
  21. https://gerrit.libreoffice.org/c/core/+/198316 a11y: fix accessibility issue in footnote and endnote page ui
  22. https://gerrit.libreoffice.org/c/core/+/198317 a11y: fix accessibility issue in various UI components
  23. https://gerrit.libreoffice.org/c/core/+/198318 a11y: enhance accessibility by improving renderAsStatic logic

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: Idb578c0d806081e9706ef9c412d7957962ffdf54
…sibility

Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: I42ad2118fda5a7da9104f7b805ece2f8c1a7b75d
…bility

Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: Id59cae723807ea47fcca84858d6fc12f3c01c7c6
Covered Rules:
- if element has 'aria-labelledby' then referenced element should exist in DOM
- if referenced element is <label> then that label should not point to current element via for attribute(avoid duplicate labelling)
- if current element is form element then it must have either <label>, aria-labelledby or aria-label attribute binding.

Change-Id: Ic13e65d399765c56a557533809f39c88c99f7bb7
Signed-off-by: Parth Raiyani <[email protected]>
…ty validation

- 'BUTTON' should first prioritize aria-labelledby reference

Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: I2223dcb434d1d35aa0dd5f3f4760076fe888bb64
…eview

- add unique IDs to checkbox and radio button elements for improved accessibility
- create label instead of span referencing selection element via 'for' attribute when we create radio button or checkbox

Change-Id: Ic5191df19aa657b2f254018ef0fa40945d120855
Signed-off-by: Parth Raiyani <[email protected]>
- this change makes findLabelElementById more reliable to remove false positive by only considering numbers in suffix in id

Change-Id: I01489abb91cf393a9f04de42bc462c2d06b09dbe
Signed-off-by: Parth Raiyani <[email protected]>
Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: I2a768a745821db9727063dc92321514f87e09f1f
Change-Id: I415454c092bb8285ca2e9156efe4c4fad5a08f41
Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: I0c135174ff9ee70af18460824d66ccd1bb4dad4c
Signed-off-by: Parth Raiyani <[email protected]>
…Page

Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: I3976b705f2dc619321700bb79ff5ce5fe5a0b2aa
Signed-off-by: Parth Raiyani <[email protected]>
Change-Id: Idd222c23551766ab67b224bf275eeecf07d40e42
@juice928

This comment was marked as spam.

label.id = fixedText.id;

if (fixedText.visible === false) {
window.L.DomUtil.addClass(label, 'hidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm concerned here: it that will need some dynamic "show" ?
We hide things in postProcess I think. It applies properties to the root element inside widget. So we should:

  • synchronize hidden / disabled state with root element
  • use CSS with selector: parent > child to apply state using paren't property

not urgent but might happen in the future possibly?

@eszkadev
Copy link
Contributor

has conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

3 participants