Apostrophe 4.6.0 New locale switcher, improved accessibility and fixes

New inline locale switcher

This cycle, we improved the workflow for adding content to multiple locales with the new inline locale switcher. This feature allows the content creator to modify a document in one locale and then quickly edit the localized version without closing the document, changing locales, and re-opening the document in the new locale for editing. You can read more about it in the documentation.

Accessibility improvements

Our in-context editor is now fully keyboard accessible with improvements to tab indexing, intuitive tab ordering, improved visual focus states, and keyboard control of dialog menus. The rich-text widget got both some polish and fixes for handling links and keyboard navigation.


Full Changelog

### Adds

* Add a locale switcher in pieces and pages editor modals. This is available for localized documents only, and allows you to switch between locales for the same document.
* Adds visual focus states and keyboard handlers for engaging with areas and widgets in-context

### Changes

* Add title and _url to select all projection.
* Display Select all message on all pages in the manager modal.
* Refresh checked in manager modal after archive action.
* Updates rich text link tool's keyboard key detection strategy.
* Buttons that appear on slats (preview, edit crop/relationship, remove) are visually focusable and keyboard accessible.
* Added tooltip for update button.

### Fixes

* Fixes the rich text link tool's detection and display of the Remove Link button for removing existing links
* Fixes the rich text link tool's detection and display of Apostrophe Page relationship field.
* Overriding standard Vue.js components with editorModal and managerModal are now applied all the time.
* Accommodate old-style replica set URIs with comma-separated servers by passing any MongoDB URIs that Node.js cannot parse directly to the MongoDB driver, and avoiding unnecessary parsing of the URI in general.
* Bump oembetter dependency to guarantee compatibility with YouTube. YouTube recently deployed broken link rel="undefined" tags on some of their video pages.

Until next time

Check out the full release notes in the Apostrophe 4.6.0 GitHub Discussion  thread to see all the additional fixes and improvements and come say "Hi" in the Discord. Remember to npm update so you get the latest and greatest right in your project!