generated from w3c/note-respec-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcore-properties.yml
427 lines (385 loc) · 13.4 KB
/
core-properties.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
- property: function
type: fixity
applicability: intent function head
effect: >
the function head is voiced followed by a connector such as "of"
or "applied" to, followed by the arguments separated by connecting
words such as "comma" or "and"
examples:
- intent: "f:function(x,y)"
en: [f of x comma y, f of x and y]
fr: f de x et y
- property: prefix
type: fixity
applicability: intent function head
effect: >
the function followed by the arguments are voiced, with no connecting words.
examples:
- intent: "f:prefix(x,y)"
en: "f x y"
- property: postfix
type: fixity
applicability: intent function head
effect: >
the arguments followed by the function are voiced, with no connecting words.
examples:
- intent: "f:postfix(x)"
en: "x f"
- property: infix
type: fixity
applicability: intent function head
effect: >
the arguments are voiced, separated by the function, which may be repeated if
there are more than two arguments.
examples:
- intent: "f:infix(x,y)"
en: "x f y"
- property: silent
type: fixity
applicability: intent function head
effect: >
the arguments are voiced with no connecting words. The function head is not read.
examples:
- intent: "f:silent(x,y)"
en: "x y"
- property: literal
type: inference
applicability: all presentation elements
effect: |
Assistive technology should not infer any semantics and just speak the elements with a literal interpretation.
This includes speaking leaf content literally (e.g., `|` is spoken as "vertical bar").
If `intent` is present on a child element, it overrides this property.
See [literal property](../literal-common-properties#literal-property)
- property: common
type: inference
applicability: all presentation elements
effect: |
Assistive technology should use the specified `common` defaults.
See [common property](../literal-common-properties#common-property)
- property: legacy
type: inference
applicability: all presentation elements
effect: |
Assistive technology should use its system specified defaults.
This is the default behavior if neither the
[literal property](../literal-common-properties#literal-property)
nor
[common property](../literal-common-properties#common-property)
is in effect.
See [legacy property](../literal-common-properties#legacy-property)
- property: array
type: table
applicability: mtable
effect: "the table should read the rows and columns with the default order row-first unless `array:by-column` is specified.
If `by-columns` is used, column first order is used."
examples:
- intent: ":array:by-columns"
mathml: |
<mtable arg='m' intent=':array:by-column'>
<mtr><mtd><mi>a</mi></mtd><mtd><mi>b</mi></mtd></mtr>
<mtr><mtd><mi>c</mi></mtd><mtd><mi>d</mi></mtd></mtr>
</mtable>
en: "the 2 by 2 array; column 1; a; row 2; c; column 2; b; row 2; d"
- property: matrix
type: table
applicability: mtable
effect: the table should be read in a style suitable for matrices
examples:
- intent: ":matrix"
mathml: |
<mrow intent='$m'>
<mo>[</mo>
<mtable arg='m' intent=':matrix'>
<mtr><mtd><mi>a</mi></mtd><mtd><mi>b</mi></mtd></mtr>
<mtr><mtd><mi>c</mi></mtd><mtd><mi>d</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
en: "the 2 by 2 matrix; column 1; a; column 2; b; column 1; c; column 2; d"
- property: piecewise
type: table
applicability: mrow(mtable)
effect: the table should be read in a style suitable for a piecewise definition
examples:
- intent: ":piecewise"
mathml: |
<mi>f</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo>
<mo>=</mo>
<mrow>
<mo>{</mo>
<mtable intent=":piecewise" columnalign="right left" columnspacing="0" rowspacing=".2em">
<mtr>
<mtd><mo>−</mo><mi>x</mi></mtd>
<mtd><mtext>if</mtext></mtd>
<mtd><mi>x</mi><mo><</mo><mn>0</mn></mtd>
</mtr>
<mtr>
<mtd><mi>x</mi></mtd>
<mtd><mtext>if</mtext></mtd>
<mtd><mi>x</mi><mo>≥</mo><mn>0</mn></mtd>
</mtr>
</mtable>
</mrow>
en: "f of x is equal to; 3 cases,
case 1; negative 1 if x; is less than 0;
case 2; 0 if x, is equal to 0;
case 3; 1 if x, is greater than 0;"
- property: system-of-equations
type: table
applicability: mtable
effect: "the table should be read in a style suitable for displayed equations (and inequations)"
examples:
- mathml: |
<mtable intent=':system-of-equations'>
<mtr>
<mtd columnalign='right'>
<mn>2</mn><mo>⁢</mo><mi>x</mi>
</mtd>
<mtd columnalign='center'>
<mo>=</mo>
</mtd>
<mtd columnalign='left'>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd columnalign='right'>
<mi>y</mi>
</mtd>
<mtd columnalign='center'>
<mo>></mo>
</mtd>
<mtd columnalign='left'>
<mi>x</mi><mo>−</mo><mn>3</mn>
</mtd>
</mtr>
</mtable>
en: 2 equations; equation 1; 2 x, is equal to, 1; equation 2; y, is greater than, x minus 3;
- property: lines
type: table
applicability: mtable
effect: the table should be read without implying any mathematical context other than a multi-line display
- property: continued-row
type: table
applicability: mtr
effect: indicates that the row continues an equation wrapped from the row above
- property: by-row
type: table
applicability: mtable
effect: indicates that the table should be read row by row
- property: by-column
type: table
applicability: mtable
effect: indicates that the table should be read column by column
- property: equation-label
type: table
applicability: mtd
effect: indicates that the cell holds an equation label.
This may influence the way the surrounding `mtr` is announced.
- property: no-equation-label
type: table
applicability: mtd
effect: indicates that the cell does not hold a label.
This may be used if a table column is being used solely to hold labels
to highlight empty cells for unlabeled rows.
- property: number-set
type: mathematical-category
applicability: mi
examples:
- mathml: '<mi intent=":number-set">ℂ</mi>'
en: [ complex numbers, c ]
- property: largeop
type: mathematical-category
applicability: intent function, msub, msubsup munder munderover
examples:
- intent: 'sum:largeop(0,n,$arg)'
en: the sum from 0 to n of arg
- intent: 'sum:largeop($C,$arg)'
en: the sum over C of arg
- mathml: |
<mrow>
<munderover intent=":largeop">
<mo>∑</mo>
<mn>0</mn>
<mi>n</mi>
</munderover>
<msup><mi>i</mi><m>2</m></msup>
</mrow>
en: the sum from 0 to n of i squared
- mathml: |
<mrow>
<munderover intent=":largeop">
<mo>∑</mo>
<mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow>
<mi>n</mi>
</munderover>
<msup><mi>i</mi><m>2</m></msup>
</mrow>
en:
- the sum from i equals 0 to n of i squared
- the sum as i goes from 0 to n of i squared
- mathml: |
<mrow>
<munder intent=":largeop">
<mo>∑</mo>
<mrow><mi>i</mi><mo>∈</mo><mi>I</mi></mrow>
</munder>
<msup><mi>i</mi><m>2</m></msup>
</mrow>
en: the sum over i in cap i of i squared
- mathml: |
<mrow intent="sum:largeop($from,$to,$exp)">
<munderover>
<mo>∑</mo>
<mn arg="from">0</mn>
<mi arg="to">n</mi>
</munderover>
<msup arg="exp"><mi>i</mi><m>2</m></msup>
</mrow>
en: the sum from 0 to n of i squared
- property: unit
type: units-and-currency
applicability: mi
examples:
- mathml: "<mrow><mn>1.5</mn><mi intent=':unit'>km</mi></mrow>"
en: 1.5 kilometres
- mathml: "<mrow><mn>2</mn><mi mathvariant='normal' intent=':unit'>Ω</mi></mrow>"
en: 2 ohms
comment:
- "This includes SI units, English units, etc. It also includes radians, degrees, etc."
- property: currency
type: units-and-currency
applicability: mi
examples:
- mathml: "<mrow><mi mathvariant='normal' intent=':currency'>$</mi><mn>1.50</mn></mrow>"
en: 1.50 dollars
- mathml: "<mrow><mn>1.50</mn><mi intent=':currency'>USD</mi></mrow>"
en: 1.50 U S dollars
- mathml: "<mrow><mi mathvariant='normal' intent=':currency'>£</mi><mn>1.50</mn></mrow>"
en: 1.50 pounds
- property: roman-numeral
type: number
applicability: mn
comment: some braille codes (e.g., CMU) have special rules for roman numerals
examples:
- mathml: "<mn intent=':roman-numeral'>cd</mn>"
en:
-c d
- four hundred
- mathml: "<mn intent=':roman-numeral'>XVI</mn>"
en:
- x v i
- sixteen
- mathml: "<mrow intent=':roman-numeral'>
<menclose notation='top'><menclose notation='top'><mn>VI</mn></menclose></menclose>
<menclose notation='top'><mn>XL</mn></menclose>
<mn>DXXI</mn>
</mrow>"
en:
- v i double vinculm ; x l vinculum ; d x x i
- six million? ; forty thousand ; five hundred and twenty one
- property: shape
type: geometry
applicability: mo
comment: there are many shape characters in unicode, including filled and shaded ones. Some have mathematical meaning. The shape property is used when they are meant to be used as a geometric shape.
examples:
- mathml: "<mo intent=':shape'>▭</mo><mi>A</mi><mi>B</mi><mi>C</mi><mi>D</mi>"
en: rectangle A B C D
- property: chemical-element
type: chemistry
examples:
- mathml:
"<mrow intent=':chemical-formula'>
<mmultiscripts>
<mi mathvariant='normal' intent=':chemical-element'>H</mi>
<mn>2</mn>
<mrow/>
</mmultiscripts>
<mi mathvariant='normal' intent=':chemical-element'>O</mi>
</mrow>"
en: cap h 2 cap o
- property: chemical-equation
type: chemistry
effect: read the term as a chemical equation
examples:
- mathml: |
<mrow intent=':chemical-equation'>
<mrow intent=':chemical-equation'>
<mn>2</mn>
<mo>⁢</mo>
<mrow intent=':chemical-equation'>
<mmultiscripts intent=':chemical-formula'>
<mi mathvariant='normal' intent=':chemical-element'>H</mi>
<mn>2</mn>
<mrow/>
</mmultiscripts>
<mo>⁣</mo>
<mi mathvariant='normal' intent=':chemical-element'>O</mi>
</mrow>
</mrow>
<mo>⟶</mo>
<mrow intent=':chemical-equation'>
<mrow intent=':chemical-equation'>
<mn>2</mn>
<mo>⁢</mo>
<mmultiscripts intent=':chemical-formula'>
<mi mathvariant='normal' intent=':chemical-element'>H</mi>
<mn>2</mn>
<mrow/>
</mmultiscripts>
</mrow>
<mo>+</mo>
<mmultiscripts intent=':chemical-formula'>
<mi mathvariant='normal' intent=':chemical-element'>O</mi>
<mn>2</mn>
<mrow/>
</mmultiscripts>
</mrow>
</mrow>
en: '2, cap h, sub 2; cap o; reacts to form; 2 cap h, sub 2; plus cap o, sub 2'
- property: pause-short
type: pause
applicability: all
effect: "short pause before processing the element as usual."
examples:
- mathml: '<math><mi>a</mi><mspace intent=":pause-short" width=".2em"/><mi>b</mi></math>'
en: "a [pause.] b"
- property: pause-medium
type: pause
applicability: all
effect: "medium pause before processing the element as usual."
examples:
- mathml: |
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mtable displaystyle="true" intent=":system-of-equations">
<mtr>
<mtd intent=":equation-label"><mtext>(10)</mtext></mtd>
<mtd><mi>𝑎</mi><mi>+</mi><mi>𝑎</mi></mtd>
<mtd><mo form="infix">=</mo><mi>𝑏</mi><mo>+</mo><mi>𝑏</mi></mtd>
<mtd intent=":pause-medium"><mi>𝑐</mi><mo>+</mo><mi>𝑐</mi></mtd>
<mtd><mo form="infix">=</mo><mi>𝑑</mi><mo>+</mo><mi>𝑑</mi></mtd>
</mtr>
<mtr>
<mtd intent=":equation-label"><mtext>(11)</mtext></mtd>
<mtd><mi>𝑎</mi></mtd>
<mtd><mo form="infix">=</mo><mi>𝑏</mi></mtd>
<mtd intent=":pause-medium"><mi>𝑐</mi></mtd>
<mtd><mo form="infix">=</mo><mi>𝑑</mi></mtd>
</mtr>
</mtable>
</math>
en: "line one label 10; a plus a equals b plus b [pause..] c plus c equals d plus d; line two label 11; a equals b [pause..] c equals d"
- property: pause-long
type: pause
applicability: all
effect: "long pause before processing the element as usual."
examples:
- mathml: '<math><mi>a</mi><mspace intent=":pause-long" width="2em"/><mi>b</mi></math>'
en: "a [pause...] b"
- property: pause-xlong
type: pause
applicability: all
effect: "extra long pause before processing the element as usual."
examples:
- mathml: '<math><mi>a</mi><mspace intent=":pause-xlong" width="4cm"/><mi>b</mi></math>'
en: "a [pause....] b"