Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ts/a11y/explorer/ExplorerPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ const allExplorers: { [options: string]: ExplorerInit } = {
pool,
doc.explorerRegions.tooltip3,
node,
(x: HTMLElement) => x.hasAttribute('data-semantic-prefix'),
(x: HTMLElement) => x.getAttribute('data-semantic-prefix')
(x: HTMLElement) => x.hasAttribute?.('data-semantic-prefix-none'),
(x: HTMLElement) => x.getAttribute?.('data-semantic-prefix-none')
),
flame: (
doc: ExplorerMathDocument,
Expand Down
6 changes: 5 additions & 1 deletion ts/a11y/explorer/Region.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,18 @@ export class ToolTip extends StringRegion {
height: 'auto',
opacity: 1,
'text-align': 'center',
'border-radius': '6px',
'border-radius': '4px',
padding: 0,
'border-bottom': '1px dotted black',
position: 'absolute',
display: 'inline-block',
'background-color': 'white',
'z-index': 202,
},
['.' + ToolTip.className + ' > div']: {
'border-radius': 'inherit',
padding: '0 2px',
},
});
}

Expand Down
15 changes: 5 additions & 10 deletions ts/ui/menu/Menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -823,16 +823,11 @@ export class Menu {
['500%'],
]),
]),
this.submenu(
'Semantic Info',
'Semantic Info',
[
this.checkbox('Type', 'Type', 'infoType'),
this.checkbox('Role', 'Role', 'infoRole'),
this.checkbox('Prefix', 'Prefix', 'infoPrefix'),
],
true
),
this.submenu('Semantic Info', 'Semantic Info', [
this.checkbox('Type', 'Type', 'infoType'),
this.checkbox('Role', 'Role', 'infoRole'),
this.checkbox('Prefix', 'Prefix', 'infoPrefix'),
]),
Comment thread
dpvc marked this conversation as resolved.
this.rule(),
this.submenu('Role Description', 'Describe math as', [
this.radioGroup('roleDescription', [
Expand Down