@lvce-editor/status-bar-worker 3.33.0 → 3.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -870,16 +870,21 @@ const getStatusBarItemsRightDom = statusBarItemsRight => {
870
870
  return getStatusBarItemsVirtualDom(statusBarItemsRight, StatusBarItemsRight);
871
871
  };
872
872
 
873
+ const Focusable = 0;
874
+
873
875
  const getChildCount = rightCount => {
874
876
  return rightCount > 0 ? 2 : 1;
875
877
  };
876
878
  const getStatusBarVirtualDom = (statusBarItemsLeft, statusBarItemsRight) => {
877
879
  const dom = [{
880
+ ariaLive: 'off',
881
+ ariaRoleDescription: 'Status Bar',
878
882
  childCount: getChildCount(statusBarItemsRight.length),
879
883
  className: 'StatusBar',
880
884
  onClick: HandleClick,
881
885
  onContextMenu: HandleContextMenu,
882
886
  role: Status,
887
+ tabIndex: Focusable,
883
888
  type: Div
884
889
  }, ...getStatusBarItemsLeftDom(statusBarItemsLeft), ...getStatusBarItemsRightDom(statusBarItemsRight)];
885
890
  return dom;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/status-bar-worker",
3
- "version": "3.33.0",
3
+ "version": "3.33.1",
4
4
  "description": "Status Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",