Skip to content

Instantly share code, notes, and snippets.

View vitorpacheco's full-sized avatar

Vitor Pacheco vitorpacheco

  • Solutis Tecnologias
  • Brasil, Salvador - BA
View GitHub Profile
@vitorpacheco
vitorpacheco / acessibilidade.md
Last active June 7, 2017 11:49
Acessibilidade

ACESSIBILIDADE

O mundo vive atualmente a "era da informação" ou "sociedade da informação". A utilização de tecnologias de informação e comunicação está em expansão no mundo e a internet é a "anfitriã" desta era. Os computadores pessoais e as demais tecnologias, que possibilitam a interface entre o homem e a informação, estão mais acessíveis economicamente às pessoas.

Atualmente é possível comprar um computador e ter acesso à internet facilmente. Mas a acessibilidade é um termo muito mais amplo do que apenas "acesso a algo". Uma parcela da sociedade não tem os mesmos direitos de acessibilidade às tecnologias de informação e comunicação. São eles os cegos e os amblíopes.

A maioria dos websites e computadores apresentam barreiras de acessibilidade, impossibilitando a grande parte das pessoas com algum tipo de deficiência, o acesso à informação. É essencial que a web seja acessível para fornecer igual acesso e oportunidades às pessoas com deficiência.

Veremos neste curso algumas das soluções técnicas para q

<div title="Solicitar ajustes" id="comment">
<form accept-charset="utf-8" method="post" class="form label-inline" action="/view/25">
<div style="display:none;">
<input type="hidden" value="POST" name="_method">
</div>
<div class="field">
<label for="AjusteComentario">Comentário</label>
<textarea id="AjusteComentario" rows="6" cols="30" name="data[Ajuste][comentario]"></textarea>
</div>
</form>
sudo apt-get install apache2-threaded-dev apache2-mpm-prefork build-essential libcurl4-openssl-dev libcurl4-openssl-dev gnutls-bin libjpeg-dev libpng12-dev libxml2-dev libmcrypt-dev libmcrypt4 mcrypt gmpc-dev libgmp-dev libglib2.0-dev libiulib-dev libib-util firebird-dev libtidy-dev libxslt1-dev autoconf
./configure --with-apxs2=/usr/bin/apxs2 --with-curl --with-gd --with-gettext --with-gmp --with-mcrypt --with-mysql --with-mysqli --with-openssl --with-pdo-firebird --with-pdo-mysql --with-pdo-pgsql --with-pear --with-pgsql --with-regex --with-tidy --with-xmlrpc --with-xsl --enable-exif --enable-mbstring --with-zlib --enable-soap --enable-pcntl
@vitorpacheco
vitorpacheco / Default.json
Created August 14, 2012 12:02
Configurações Sublime Text 2
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform
\usepackage{array}
\usepackage{tabularx}
\usepackage[num,abnt-full-initials=yes]{abntcite}
\usepackage{times,fancyhdr}
\usepackage{graphicx,url}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm,amscd}
<?php
class AppModel extends Model {
public function getQuery($type, $options = array()) {
$dbo = $this->getDataSource();
$defaults = array(
'fields' => array('`' . $this->alias . '`.`*`'),
'table' => '"' . $dbo->config['schema'] . '".' . $dbo->fullTableName($this),
'alias' => $this->alias,
'limit' => null,
@vitorpacheco
vitorpacheco / Grupo.php
Created May 4, 2012 02:46
beforeDelete
public function beforeDelete($cascade = true) {
if (in_array($this->id, array(self::GRUPO_ADMIN, self::GRUPO_PUBLICO))) {
return false;
}
return true;
}
@vitorpacheco
vitorpacheco / addItems.js
Created April 25, 2012 00:52
jQuery Plugins
$.fn.addItems = function(data) {
return this.each(function() {
var list = $(this)
list.empty()
if (data.length != []) {
$.each(data, function(index, text) {
list.append("<option value="+index+">"+text+"</option>")
})
} else {
list.append("<option>Nenhuma opção encontrada</option>")
@vitorpacheco
vitorpacheco / pagination.ctp
Created April 22, 2012 14:46 — forked from slywalker/pagination.ctp
pagination element for CakePHP on twitter bootstrap
<?php
if (!isset($modules)) {
$modulus = 11;
}
if (!isset($model)) {
$models = ClassRegistry::keys();
$model = Inflector::camelize(current($models));
}
?>
<div class="pagination">
@vitorpacheco
vitorpacheco / comment.rb
Created April 14, 2012 02:19
Getting Started with Rails
class Comment < ActiveRecord::Base
belongs_to :post
attr_accessible :body, :commenter
end