nvda
99b2bcf9 - Reporting table headers can now be configured separately for rows and columns (#14132)

Commit
3 years ago
Reporting table headers can now be configured separately for rows and columns (#14132) Closes #14075 Summary of the issue: It was asked in #14075 to be able to have table row/column headers reporting configured separately. Description of user facing changes * A combo-box in Documentation formatting settings allows to select among 4 options to have table headers reported: Off, Columns and rows, Rows and Columns; it replaces the previous checkbox for table headers reporting. * Setting row/column headers in Word or Excel (no UIA) is now possible even if the option to report table headers is disabled. Indeed, it is clearer from a UX point of view to allow it than to disallow it only when reporting table headers in the same direction (row/column) is disabled. * The toggle script for table headers reporting has also been adapted to cycle through the 4 options. Description of development approach * Implemented as per https://github.com/nvaccess/nvda/issues/14075#issuecomment-1240263166. * Created an enumeration to store the possible options for this parameter, containing the numeric values for the config file and the display strings for the UI. * Not directly linked but a a `noqa` exception for code complexity of `getObjectSpeech` has been removed because it was not relevant anymore. Excepted the removal of this #`noqa` directive, `getObjectSpeech` is not modified in this PR.
Author
Parents
Loading