Add A Simple Button menu to the Bitverse Screen if ascii art is disabled

this fixed the issue that was noticed that the current ascii art page is
not possible to navigate with a screen reader
This commit is contained in:
TheMas3212
2022-02-17 00:48:25 +11:00
parent 9ddb1c4379
commit 71ed2eafb8
2 changed files with 115 additions and 60 deletions
+2
View File
@@ -43,6 +43,8 @@ export function PortalModal(props: IProps): React.ReactElement {
<br />
<br />
<Button
aria-label={`enter-bitnode-${bitNode.number.toString()}`}
autoFocus={true}
onClick={() => {
props.enter(router, props.flume, props.destroyedBitNode, props.n);
props.onClose();