Browse Source

add a <table summary="..." /> attribute so screenreader software does not

get hopelessly lost.
tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 years ago
parent
commit
ef3b597946
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca/codec/export.c

+ 1
- 1
caca/codec/export.c View File

@@ -488,7 +488,7 @@ static void *export_html3(caca_canvas_t const *cv, size_t *bytes)
*bytes = 1000 + cv->height * (10 + maxcols * (48 + 36 + 9 + 17));
cur = data = malloc(*bytes);

cur += sprintf(cur, "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
cur += sprintf(cur, "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" summary=\"[libcaca canvas html3 export]\">\n");

for(y = 0; y < cv->height; y++)
{


Loading…
Cancel
Save