User Tools

Site Tools


twine_1.4.2_bugs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
twine_1.4.2_bugs [2014/12/19 19:47]
l
twine_1.4.2_bugs [2017/10/09 20:39] (current)
Line 75: Line 75:
  
 The bookmark link has proved to be a massive perf drain when a story uses JS objects in variables. It should really only be computed when the player actually clicks the link. The bookmark link has proved to be a massive perf drain when a story uses JS objects in variables. It should really only be computed when the player actually clicks the link.
- 
-=====No tabIndexes for passage links===== 
- 
-A keyboard accessibility concern: in some browsers, Twine passage links can't be navigated to via the Tab key, because their elements lack tabindex attributes. 
- 
-====Makeshift patch==== 
-Thomas M. Edwards provides this script as a makeshift patch: 
-<​code>​postrender.addTabIndexes = function (content) { 
- var links = content.querySelectorAll("​a"​);​ 
- for (var i = 0, len = links.length;​ i < len; i++) { 
- links[i].setAttribute("​tabindex",​ 0); 
- } 
-}; 
-</​code>​ 
  
 =====visited() error checking===== ​ =====visited() error checking===== ​
twine_1.4.2_bugs.txt ยท Last modified: 2017/10/09 20:39 (external edit)