瀏覽代碼

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

get hopelessly lost.
tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 年之前
父節點
當前提交
ef3b597946
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      caca/codec/export.c

+ 1
- 1
caca/codec/export.c 查看文件

@@ -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…
取消
儲存