Commit 3c3fa25
Add ascii board as description of svg
The tag <desc> in SVG can store a textual description, eg. for better
accessibility. For the chess board there could be the string
representation (basically str(chess.Board()) and enclosed in <pre> it is
readable in text browsers like links or w3m when the svg is embedded in
html.1 parent 457f5f4 commit 3c3fa25
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
0 commit comments