40fd5efe05
* vpat 48: announce selection for default virt table For simpler virtualized tables (e.g. style manager in Zotero_Preferences.Cite), the table does not get re-rendered when selection changes, so aria-activedescendant does not get updated in render(). - a single function to update aria-activedescendant of the table - call it in _updateTree of the tree selection because _onSelection is not called the very first time a table is rendered. In that case, after restart, collectionTree would have a selected row but no aria-activedescendant - remove this.forceUpdate() from selection handlers of itemTree and collectionTree because judging by the coment it's main purpose was to set aria-activedescendant through render() - set aria-activedescendant in _onSelection handler of virtualized table. - construct and set aria-label for rows build via makeRowRenderer of VirtualizedTable so that is is announced when the row is selected. |
||
---|---|---|
.. | ||
content | ||
locale | ||
skin/default/zotero |