我的 HTML 如下(摘录部分):
<h1><span>Main Menu</span></h1>
<div>
<button tabindex="0">New Customer</button><br>
<button tabindex="0">Existing Customer</button>
</div>
Run Code Online (Sandbox Code Playgroud)
我正在使用英伟达。当用户进入屏幕时,焦点位于第一个按钮上。NVDA 读取第一个按钮(新客户)上的文本。它会跳过标题 (h1)。我认为它应该读取 h1 标签,而不读取任何 aria 标签,例如 aria-label。我的假设有错吗?我需要做什么才能使这项工作成功?
我正在使用Google App engine1.9.3,Eclipse,Objectify5.03.我的班级如下:
import com.googlecode.objectify.Ref;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Load;
@Entity
public class User {
@Id private Long userId;
private String userName;
@Load private Ref<UserDetails> userDetails;
@Load private Ref<UserPassword> userPassword;
//getters & setters
}
Run Code Online (Sandbox Code Playgroud)
当我尝试通过Eclipse为此类创建google端点时,我收到以下错误: java.lang.IllegalArgumentException:参数化类型com.googlecode.objectify.Ref不支持
这是我第一次尝试Objectify.
我有什么不妥的想法.从我到目前为止所阅读的内容来看,GAE端点和Objectify应该有效,对吗?